]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Added inline setters for wxTreeEvent so we don't need to add new
[wxWidgets.git] / src / common / utilscmn.cpp
index ae8c7e79dc1349becec4e1f21bc2bde72cae63db..93aa19f675a6a33f464a84f05922039dae285258 100644 (file)
@@ -133,6 +133,15 @@ wxRegisterId (long id)
     wxCurrentId = id + 1;
 }
 
+// ----------------------------------------------------------------------------
+// String <-> Number conversions (deprecated)
+// ----------------------------------------------------------------------------
+
+#if WXWIN_COMPATIBILITY_2_4
+
+WXDLLEXPORT_DATA(const wxChar *) wxFloatToStringStr = wxT("%.2f");
+WXDLLEXPORT_DATA(const wxChar *) wxDoubleToStringStr = wxT("%.2f");
+
 void
 StringToFloat (const wxChar *s, float *number)
 {
@@ -197,6 +206,8 @@ LongToString (long number)
   return buf;
 }
 
+#endif // WXWIN_COMPATIBILITY_2_4
+
 // Array used in DecToHex conversion routine.
 static wxChar hexArray[] = wxT("0123456789ABCDEF");