don't compare initial slider position with uninitialized m_pos (modified patch 1818759)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-23 18:16:06 +00:00
parent 9cd808434c
commit 3824e0db33
2 changed files with 21 additions and 11 deletions

View File

@@ -58,7 +58,7 @@ public:
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
// implementation
double m_pos;
int m_scrollEventType;
@@ -68,6 +68,9 @@ public:
protected:
virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
// set the slider value unconditionally
void GTKSetValue(int value);
DECLARE_DYNAMIC_CLASS(wxSlider)
};