X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4071e913e85e35024ee5883a0a046f0fd6332bf..520e470fdd0daef09c77938db642e4583933c90d:/src/gtk/slider.cpp diff --git a/src/gtk/slider.cpp b/src/gtk/slider.cpp index e9997178d2..3f2b9b84f8 100644 --- a/src/gtk/slider.cpp +++ b/src/gtk/slider.cpp @@ -48,7 +48,7 @@ static void gtk_slider_callback( GtkWidget *WXUNUSED(widget), wxSlider *win ) int value = (int)(win->m_adjust->value+0.5); int orient = wxHORIZONTAL; - if (win->GetWindowStyleFlag() & wxSB_VERTICAL == wxSB_VERTICAL) orient = wxHORIZONTAL; + if (win->GetWindowStyleFlag() & wxSB_VERTICAL == wxSB_VERTICAL) orient = wxVERTICAL; wxScrollEvent event( command, win->GetId(), value, orient ); event.SetEventObject( win );