From 618dfb51d93898632830f1b87443d3f748780871 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:05:53 +0200 Subject: 3.5 --- shared/globalFunctions.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'shared/globalFunctions.h') diff --git a/shared/globalFunctions.h b/shared/globalFunctions.h index 781e2dec..f4f2caa4 100644 --- a/shared/globalFunctions.h +++ b/shared/globalFunctions.h @@ -47,9 +47,6 @@ std::string numberToString(const T& number) //convert number to string the C++ w return ss.str(); } -wxString numberToWxString(const unsigned int number); //convert number to wxString -wxString numberToWxString(const int number); //convert number to wxString -wxString numberToWxString(const float number); //convert number to wxString int stringToInt( const std::string& number); //convert String to number long stringToLong( const std::string& number); //convert String to number @@ -221,27 +218,6 @@ void globalFunctions::writeNumber(std::ofstream& stream, T number) } -inline -wxString globalFunctions::numberToWxString(const unsigned int number) -{ - return wxString::Format(wxT("%u"), number); -} - - -inline -wxString globalFunctions::numberToWxString(const int number) -{ - return wxString::Format(wxT("%i"), number); -} - - -inline -wxString globalFunctions::numberToWxString(const float number) -{ - return wxString::Format(wxT("%f"), number); -} - - inline int globalFunctions::stringToInt(const std::string& number) { -- cgit