]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/spinbutt.cpp
Give wxListBox a GetClassDefaultAttributes so wxCalendarCtrl (and
[wxWidgets.git] / src / motif / spinbutt.cpp
index ec039edb0cd291be945ed6108429a20138551bee..ca3a6e2af18c5a8c9a88908e8711331dc89b4d2d 100644 (file)
@@ -13,6 +13,9 @@
     #pragma implementation "spinbutt.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/spinbutt.h"
 #include "wx/spinctrl.h"
 #include "wx/timer.h"
@@ -274,8 +277,6 @@ bool wxSpinButton::Create( wxWindow *parent, wxWindowID id,
 
     SetName(name);
 
-    InitBase();
-
     m_windowId = ( id == -1 ) ? NewControlId() : id;
 
     bool isVert = IsVertical();