diff options
Diffstat (limited to 'shared/globalFunctions.h')
-rw-r--r-- | shared/globalFunctions.h | 24 |
1 files changed, 0 insertions, 24 deletions
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 @@ -222,27 +219,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) { return atoi(number.c_str()); |