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)