X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..8709d9472bc45411b2123a82a8e6df2da21b3ffa:/src/palmos/ownerdrw.cpp diff --git a/src/palmos/ownerdrw.cpp b/src/palmos/ownerdrw.cpp index 261649727f..e3e02226c2 100644 --- a/src/palmos/ownerdrw.cpp +++ b/src/palmos/ownerdrw.cpp @@ -45,8 +45,7 @@ public: virtual void OnExit() { - delete ms_systemMenuFont; - ms_systemMenuFont = NULL; + wxDELETE(ms_systemMenuFont); } static wxFont* ms_systemMenuFont;