X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..a625c5b6c0d1c0f137bfbbdd98608c194017da75:/src/gtk/utilsres.cpp diff --git a/src/gtk/utilsres.cpp b/src/gtk/utilsres.cpp index 5ae3a6c659..bee27c4457 100644 --- a/src/gtk/utilsres.cpp +++ b/src/gtk/utilsres.cpp @@ -91,7 +91,7 @@ bool wxGetResource(const wxString& section, const wxString& entry, float *value, bool succ = wxGetResource(section, entry, (wxChar **)&s, file); if (succ) { - *value = (float)wxStrtod(s, NULL); + *value = (float)wxStrtod(s, (wchar_t**) NULL); delete[] s; return true; } @@ -104,7 +104,7 @@ bool wxGetResource(const wxString& section, const wxString& entry, long *value, bool succ = wxGetResource(section, entry, (wxChar **)&s, file); if (succ) { - *value = wxStrtol(s, NULL, 10); + *value = wxStrtol(s, (wchar_t**) NULL, 10); delete[] s; return true; } @@ -117,7 +117,7 @@ bool wxGetResource(const wxString& section, const wxString& entry, int *value, c bool succ = wxGetResource(section, entry, (wxChar **)&s, file); if (succ) { - *value = (int)wxStrtol(s, NULL, 10); + *value = (int)wxStrtol(s, (wchar_t**) NULL, 10); delete[] s; return true; }