X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02a48e3b0ab51e355129b1550b6028bb963153a1..f156e20c8e21594f901bfce15db4459208ec9571:/src/motif/spinbutt.cpp?ds=sidebyside diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index 4263105156..edd15fa3c9 100644 --- a/src/motif/spinbutt.cpp +++ b/src/motif/spinbutt.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "spinbutt.h" #endif @@ -274,8 +274,6 @@ bool wxSpinButton::Create( wxWindow *parent, wxWindowID id, SetName(name); - InitBase(); - m_windowId = ( id == -1 ) ? NewControlId() : id; bool isVert = IsVertical();