projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Corrected wxScrolledWindow's OnSize behaviour.
[wxWidgets.git]
/
src
/
gtk
/
gauge.cpp
diff --git
a/src/gtk/gauge.cpp
b/src/gtk/gauge.cpp
index ecc9b39d77034566b91440f383b025c8b5fc4d1c..b85ec70964b6de200a7ddcdf44f1f8863560bd71 100644
(file)
--- a/
src/gtk/gauge.cpp
+++ b/
src/gtk/gauge.cpp
@@
-15,8
+15,8
@@
#if wxUSE_GAUGE
#if wxUSE_GAUGE
-#include
"gdk/gdk.h"
-#include
"gtk/gtk.h"
+#include
<gdk/gdk.h>
+#include
<gtk/gtk.h>
//-----------------------------------------------------------------------------
// wxGauge
//-----------------------------------------------------------------------------
// wxGauge
@@
-42,6
+42,8
@@
bool wxGauge::Create( wxWindow *parent, wxWindowID id, int range,
m_useProgressBar = TRUE;
m_widget = gtk_progress_bar_new();
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 );
m_parent->DoAddChild( this );