]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sysopt.cpp
make string at least empty (instead of containing garbage) if malloc() failed
[wxWidgets.git] / src / common / sysopt.cpp
index c8d4539f3777eae0a145096aae3d59cc582c73b0..2c3439278e5dc6a62c7070b8196542cb8d922482 100644 (file)
@@ -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 wxSystemOptions;
+    friend class WXDLLIMPEXP_BASE wxSystemOptions;
 public:
     virtual bool OnInit();
     virtual void OnExit();