// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "spinbutt.h"
#endif
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();