]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toolbar.cpp
Implement wxWindow::DoGetBorderSize() for all ports.
[wxWidgets.git] / src / motif / toolbar.cpp
index 6cc0576b5575829309dc1c24abda0642313e884c..77d27351ec0e5c0201a2b0701d1618caf5d86d0f 100644 (file)
@@ -244,8 +244,7 @@ bool wxToolBar::Create(wxWindow *parent,
 
 wxToolBar::~wxToolBar()
 {
-    delete wxTheToolBarTimer;
-    wxTheToolBarTimer = NULL;
+    wxDELETE(wxTheToolBarTimer);
 }
 
 bool wxToolBar::Realize()