// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#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"
ArrowDirection d,
const wxPoint& pos, const wxSize& size )
{
- int arrow_dir;
+ int arrow_dir = XmARROW_UP;
switch( d )
{
AttachWidget( parent, m_mainWidget, (WXWidget) NULL,
pos.x, pos.y, size.x, size.y );
+ SetForegroundColour( parent->GetBackgroundColour() );
+
return TRUE;
}
SetName(name);
- InitBase();
-
m_windowId = ( id == -1 ) ? NewControlId() : id;
bool isVert = IsVertical();