X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fda7962d029672a5f4c718a3c6b2559856f4cd95..4bf45c9ecafa14b167ef0c911a83cd5cc8fba4d2:/include/wx/msw/regconf.h diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index f34b265170..f9d73d9cae 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -12,14 +12,16 @@ #ifndef _REGCONF_H #define _REGCONF_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "regconf.h" #endif #ifndef _REGISTRY_H #include "wx/msw/registry.h" #endif + #include "wx/object.h" +#include "wx/confbase.h" // ---------------------------------------------------------------------------- // wxRegConfig @@ -34,7 +36,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();