X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..d2e66707deb10dea6f92e3e4092f8a43ef942a5d:/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;