#include <math.h>
#include <string.h>
+#if !WXWIN_COMPATIBILITY_2_4
+static inline wxChar* copystring(const wxChar* s)
+ { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxPropertyValue, wxObject)
}
wxChar *wxPropertyValidator::IntToString (int number) {
- return ::IntToString (number);
+ static wxChar buf[20];
+
+ wxSprintf (buf, wxT("%d"), number);
+ return buf;
}
wxChar *wxPropertyValidator::LongToString (long number) {
- return ::LongToString (number);
- }
+ static wxChar buf[20];
+
+ wxSprintf (buf, wxT("%ld"), number);
+ return buf;
+}
#endif // wxUSE_PROPSHEET