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

@@ -191,6 +191,9 @@ public:
// Common scroll event handling code for wxWindow and wxScrollBar
wxEventType GetScrollEventType(GtkRange* range);
void BlockScrollEvent();
void UnblockScrollEvent();
// position and size of the window
int m_x, m_y;
int m_width, m_height;
@@ -283,9 +286,6 @@ protected:
// sets the border of a given GtkScrolledWindow from a wx style
static void GtkScrolledWindowSetBorder(GtkWidget* w, int style);
void BlockScrollEvent();
void UnblockScrollEvent();
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
DECLARE_NO_COPY_CLASS(wxWindowGTK)