support for wxGA_VERTICAL in wxGauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
402e2f7cf8
commit
61f04363db
@ -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 );
|
||||
|
||||
|
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user