]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/spinbutt.cpp
stub out wxRegion ctor not implemented in wxMGL and wxDFB to at least fix compilation
[wxWidgets.git] / src / motif / spinbutt.cpp
index fcdc7ec4775e7bec6c0717a18d85515d3944bf7b..dd10927d967dfa0b4bd1a1586a070dca729c4a3e 100644 (file)
 #if wxUSE_SPINBTN
 
 #include "wx/spinbutt.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/timer.h"
+#endif
+
 #include "wx/spinctrl.h"
-#include "wx/timer.h"
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -89,7 +93,7 @@ public:
         Create( parent, id, d, pos, size );
     }
 
-    ~wxArrowButton()
+    virtual ~wxArrowButton()
         { delete m_timer; }
 
     bool Create( wxSpinButton* parent, wxWindowID id, ArrowDirection d,