]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/regconf.h
Peparation for native Smartphone controls based on Spinners.
[wxWidgets.git] / include / wx / msw / regconf.h
index f34b2651701b171435e67e189298e216cf208343..f9d73d9cae8fd13767254b0fc509e82ac423bdd0 100644 (file)
 #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();