X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf85ddfc8a05c4d8306a1dc013bc2af7eccac00d..0bbe61b8c18a1795189f0cf73cc61c14a0fb846d:/src/common/sysopt.cpp diff --git a/src/common/sysopt.cpp b/src/common/sysopt.cpp index 56227995c9..d27f46c726 100644 --- a/src/common/sysopt.cpp +++ b/src/common/sysopt.cpp @@ -100,7 +100,12 @@ wxString wxSystemOptions::GetOption(const wxString& name) 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)