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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user