]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/ownerdrw.cpp
Explicitly include X11/Xlib.h to fix AIX build.
[wxWidgets.git] / src / palmos / ownerdrw.cpp
index 261649727f597b85e6c13ab5377296b7f3507805..e3e02226c28384d2e6928dc27abc1ccaceae1062 100644 (file)
@@ -45,8 +45,7 @@ public:
 
     virtual void OnExit()
     {
-        delete ms_systemMenuFont;
-        ms_systemMenuFont = NULL;
+        wxDELETE(ms_systemMenuFont);
     }
 
     static wxFont* ms_systemMenuFont;