]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/gauge.cpp
wxADJUST_MIN definition (forgot to ci last time)
[wxWidgets.git] / src / gtk1 / gauge.cpp
index 6cfcc74b0eac273ff3fa1467bd029bdc57a035bf..b85ec70964b6de200a7ddcdf44f1f8863560bd71 100644 (file)
@@ -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 );