X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..4a40cd9bae5e4e76fadb6188b399905028a02bc7:/src/motif/toolbar.cpp?ds=sidebyside diff --git a/src/motif/toolbar.cpp b/src/motif/toolbar.cpp index 6cc0576b55..77d27351ec 100644 --- a/src/motif/toolbar.cpp +++ b/src/motif/toolbar.cpp @@ -244,8 +244,7 @@ bool wxToolBar::Create(wxWindow *parent, wxToolBar::~wxToolBar() { - delete wxTheToolBarTimer; - wxTheToolBarTimer = NULL; + wxDELETE(wxTheToolBarTimer); } bool wxToolBar::Realize()