X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..53e46b61bbe4ce72b92c8898907f0a879d5f012b:/src/gtk/gauge.cpp diff --git a/src/gtk/gauge.cpp b/src/gtk/gauge.cpp index ecc9b39d77..b85ec70964 100644 --- a/src/gtk/gauge.cpp +++ b/src/gtk/gauge.cpp @@ -15,8 +15,8 @@ #if wxUSE_GAUGE -#include "gdk/gdk.h" -#include "gtk/gtk.h" +#include +#include //----------------------------------------------------------------------------- // wxGauge @@ -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 );