// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "spinbutt.h"
#pragma implementation "spinbutbase.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#include "wx/spinbutt.h"
#if wxUSE_SPINBTN
m_parent->DoAddChild( this );
PostCreation();
-
- SetBackgroundColour( parent->GetBackgroundColour() );
+ InheritAttributes();
Show( TRUE );