X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fda7962d029672a5f4c718a3c6b2559856f4cd95..b67e8d38b6dd7652ba4c73c7df7571d5148c087a:/include/wx/msw/regconf.h diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index f34b265170..3c83e70c98 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -12,7 +12,7 @@ #ifndef _REGCONF_H #define _REGCONF_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "regconf.h" #endif @@ -34,7 +34,7 @@ public: const wxString& vendorName = wxEmptyString, const wxString& localFilename = wxEmptyString, const wxString& globalFilename = wxEmptyString, - long style = 0); + long style = wxCONFIG_USE_GLOBAL_FILE); // dtor will save unsaved data virtual ~wxRegConfig();