X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ba4130573b01a7427f8fdd8349093f830ddfbd9..405d8f465740a78d2d19a2b108ac8fd65ff1a5e2:/src/common/fileconf.cpp?ds=sidebyside diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index a6107188c9..e976daf434 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -46,6 +46,10 @@ #include "wx/utils.h" // for wxGetHomeDir +#if defined(__WXMAC__) + #include "wx/mac/private.h" // includes mac headers +#endif + // _WINDOWS_ is defined when windows.h is included, // __WXMSW__ is defined for MS Windows compilation #if defined(__WXMSW__) && !defined(_WINDOWS_) @@ -840,8 +844,7 @@ bool wxFileConfig::DoReadLong(const wxString& key, long *pl) const { return FALSE; } - - return str.ToLong(pl); + return str.ToLong(pl) ; } bool wxFileConfig::DoWriteString(const wxString& key, const wxString& szValue)