]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / mgl / settings.cpp
index 9b2d8621b4fe464776941be42980d6fec9568c58..107eb14b12d7be41e2a6dc608cc8903c190b9ef1 100644 (file)
@@ -34,8 +34,7 @@ public:
     virtual bool OnInit() { return true; }
     virtual void OnExit()
     {
     virtual bool OnInit() { return true; }
     virtual void OnExit()
     {
-        delete gs_fontDefault;
-        gs_fontDefault = NULL;
+        wxDELETE(gs_fontDefault);
     }
 
 private:
     }
 
 private:
@@ -109,7 +108,7 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
             return false;
 
         default:
             return false;
 
         default:
-            wxFAIL_MSG( _T("unknown feature") );
+            wxFAIL_MSG( wxT("unknown feature") );
     }
 
     return false;
     }
 
     return false;