X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55703c91786847325c6eca84da92e2834857cfaa..ef3a5e0aae003c29941c7d41ed6becea4287752d:/src/gtk/gauge.cpp?ds=sidebyside diff --git a/src/gtk/gauge.cpp b/src/gtk/gauge.cpp index 6cfcc74b0e..b85ec70964 100644 --- a/src/gtk/gauge.cpp +++ b/src/gtk/gauge.cpp @@ -42,6 +42,8 @@ bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range, m_useProgressBar = TRUE; m_widget = gtk_progress_bar_new(); + if( style & wxGA_VERTICAL) + gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget) , GTK_PROGRESS_BOTTOM_TO_TOP ); m_parent->DoAddChild( this );