git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52233
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return NULL;
if ( buf )
+#ifdef _PACC_VER
+ // work around the PalmOS pacc compiler bug
+ wxStrcpy(buf, filename.data());
+#else
wxStrcpy(buf, filename);
+#endif
else
buf = MYcopystring(filename);
int wxSystemOptions::GetOptionInt(const wxString& name)
{
- return wxAtoi(GetOption(name));
+#ifdef _PACC_VER
+ // work around the PalmOS pacc compiler bug
+ return wxAtoi (GetOption(name).data());
+#else
+ return wxAtoi (GetOption(name));
+#endif
}
bool wxSystemOptions::HasOption(const wxString& name)