spinbutton code simplification

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-05-18 03:08:25 +00:00
parent de7bb80239
commit a01ed326cc
3 changed files with 49 additions and 81 deletions

View File

@@ -18,7 +18,7 @@
class WXDLLIMPEXP_CORE wxSpinButton : public wxSpinButtonBase
{
public:
wxSpinButton() { }
wxSpinButton();
wxSpinButton(wxWindow *parent,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
@@ -50,8 +50,7 @@ public:
bool IsOwnGtkWindow( GdkWindow *window );
GtkAdjustment *m_adjust;
float m_oldPos;
int m_pos;
protected:
virtual wxSize DoGetBestSize() const;