#ifndef __GTKSPINCTRLH__
#define __GTKSPINCTRLH__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
#include "wx/defs.h"
#if wxUSE_SPINCTRL
// wxSpinCtrl
//-----------------------------------------------------------------------------
-class wxSpinCtrl : public wxControl
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxControl
{
public:
- wxSpinCtrl() {}
+ wxSpinCtrl();
wxSpinCtrl(wxWindow *parent,
wxWindowID id = -1,
const wxString& value = wxEmptyString,
void OnChar( wxKeyEvent &event );
bool IsOwnGtkWindow( GdkWindow *window );
- void ApplyWidgetStyle();
void GtkDisableEvents();
void GtkEnableEvents();
- GtkAdjustment *m_adjust;
- float m_oldPos;
+ int m_pos;
protected:
virtual wxSize DoGetBestSize() const;