The current wxSlider - implementation gives a gtk-warning
about not being able to find an event handler. This is
because the first call of GtkEnableEvents has to happen a
few lines earlier. The patch fixes this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16404
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );
+ GtkEnableEvents();
+
SetRange( minValue, maxValue );
SetValue( value );
- GtkEnableEvents();
-
m_parent->DoAddChild( this );
PostCreation();
m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );
+ GtkEnableEvents();
+
SetRange( minValue, maxValue );
SetValue( value );
- GtkEnableEvents();
-
m_parent->DoAddChild( this );
PostCreation();