gtk slider code simplification and better event determination

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-05-19 16:57:37 +00:00
parent 49ca2a9920
commit 12a480c12d
2 changed files with 219 additions and 170 deletions

View File

@@ -17,7 +17,7 @@
class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase
{
public:
wxSlider() { }
wxSlider();
wxSlider(wxWindow *parent,
wxWindowID id,
int value, int minValue, int maxValue,
@@ -64,8 +64,9 @@ public:
void GtkDisableEvents();
void GtkEnableEvents();
GtkAdjustment *m_adjust;
float m_oldPos;
double m_pos;
int m_scrollEventType;
bool m_needThumbRelease;
private:
DECLARE_DYNAMIC_CLASS(wxSlider)