summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fdb7dad)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3750
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_parent->DoAddChild( this );
m_parent->DoAddChild( this );
+ if(m_windowStyle & wxNB_RIGHT)
+ gtk_notebook_set_tab_pos( GTK_NOTEBOOK(m_widget), GTK_POS_RIGHT );
+ if(m_windowStyle & wxNB_LEFT)
+ gtk_notebook_set_tab_pos( GTK_NOTEBOOK(m_widget), GTK_POS_LEFT );
+ if(m_windowStyle & wxNB_BOTTOM)
+ gtk_notebook_set_tab_pos( GTK_NOTEBOOK(m_widget), GTK_POS_BOTTOM );
+
PostCreation();
Show( TRUE );
PostCreation();
Show( TRUE );
IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
-#endif
\ No newline at end of file
m_parent->DoAddChild( this );
m_parent->DoAddChild( this );
+ if(m_windowStyle & wxNB_RIGHT)
+ gtk_notebook_set_tab_pos( GTK_NOTEBOOK(m_widget), GTK_POS_RIGHT );
+ if(m_windowStyle & wxNB_LEFT)
+ gtk_notebook_set_tab_pos( GTK_NOTEBOOK(m_widget), GTK_POS_LEFT );
+ if(m_windowStyle & wxNB_BOTTOM)
+ gtk_notebook_set_tab_pos( GTK_NOTEBOOK(m_widget), GTK_POS_BOTTOM );
+
PostCreation();
Show( TRUE );
PostCreation();
Show( TRUE );
IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
-#endif
\ No newline at end of file