X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..8ae4f08661d7b324d5cd7aa16ab1a7b2810d94f2:/src/motif/spinbutt.cpp diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index ec039edb0c..ca3a6e2af1 100644 --- a/src/motif/spinbutt.cpp +++ b/src/motif/spinbutt.cpp @@ -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();