]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gauge.cpp
added wxUSE_INTL around wxLocale::GetSystemEncoding
[wxWidgets.git] / src / gtk / 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 );