]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/spinbutt.cpp
Provide a task-dialog based wxMSW wxMessageDialog implementation.
[wxWidgets.git] / src / motif / spinbutt.cpp
index fe8e6257b97d0c4e4087ae7c5d7a0de1309e04d4..6286212ced3e139d6d969083590331df271056a1 100644 (file)
@@ -180,8 +180,7 @@ void wxArrowButton::StopTimerCallback( Widget w, XtPointer clientData,
         return;
 
     wxArrowButton* btn = (wxArrowButton*)clientData;
-    delete btn->m_timer;
-    btn->m_timer = 0;
+    wxDELETE(btn->m_timer);
 }
 
 bool wxArrowButton::Create( wxSpinButton* parent,