#if wxUSE_GAUGE
-#include "gdk/gdk.h"
-#include "gtk/gtk.h"
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// wxGauge
if (!PreCreation( parent, pos, size ) ||
!CreateBase( parent, id, pos, size, style, validator, name ))
{
- wxFAIL_MSG( _T("wxGauge creation failed") );
+ wxFAIL_MSG( wxT("wxGauge creation failed") );
return FALSE;
}
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 );