remove m_blockScrollEvent from wxWindowGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __GTKSLIDERH__
|
||||
#define __GTKSLIDERH__
|
||||
#ifndef _WX_GTK_SLIDER_H_
|
||||
#define _WX_GTK_SLIDER_H_
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxSlider
|
||||
@@ -63,12 +63,12 @@ public:
|
||||
double m_pos;
|
||||
int m_scrollEventType;
|
||||
bool m_needThumbRelease;
|
||||
bool m_blockScrollEvent;
|
||||
|
||||
protected:
|
||||
virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxSlider)
|
||||
};
|
||||
|
||||
#endif // __GTKSLIDERH__
|
||||
#endif // _WX_GTK_SLIDER_H_
|
||||
|
@@ -239,9 +239,6 @@ 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;
|
||||
@@ -301,7 +298,6 @@ public:
|
||||
bool m_needsStyleChange:1; // May not be able to change
|
||||
// background style until OnIdle
|
||||
bool m_mouseButtonDown:1;
|
||||
bool m_blockScrollEvent:1;
|
||||
|
||||
bool m_showOnIdle:1; // postpone showing the window until idle
|
||||
|
||||
|
Reference in New Issue
Block a user