]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sysopt.cpp
open registry keys in read-only mode as we might not have the rights for full access...
[wxWidgets.git] / src / common / sysopt.cpp
index 39849e7fa9090c5a4ce29d6e0cb341d0f9147990..aa36947d7bb35cdcae11ea3d5cbb78555b7c9d61 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ---------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "sysopt.h"
 #endif
 
@@ -37,6 +37,7 @@
 #include "wx/string.h"
 #include "wx/sysopt.h"
 #include "wx/module.h"
+#include "wx/arrstr.h"
 
 // ----------------------------------------------------------------------------
 // private classes
@@ -46,7 +47,7 @@
 // singleton class so it can't be done in the dtor)
 class wxSystemOptionsModule : public wxModule
 {
-    friend class WXDLLEXPORT wxSystemOptions;
+    friend class WXDLLIMPEXP_BASE wxSystemOptions;
 public:
     virtual bool OnInit();
     virtual void OnExit();