Show wx{Note,Tool}book-specific styles in the notebook sample too.

Demonstrate the use of styles such as wxNB_FIXEDWIDTH or wxTBK_HORZ_LAYOUT
specific to particular controls and not only the ones common to all of them.

Closes #13036.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-03-14 11:55:05 +00:00
parent 5c16a69952
commit 8864388cf2
2 changed files with 50 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ public:
void OnType(wxCommandEvent& event);
void OnOrient(wxCommandEvent& event);
void OnShowImages(wxCommandEvent& event);
void OnMulti(wxCommandEvent& event);
void OnStyle(wxCommandEvent& event);
void OnExit(wxCommandEvent& event);
void OnAddPage(wxCommandEvent& event);
@@ -106,7 +106,11 @@ private:
} m_type;
int m_orient;
bool m_chkShowImages;
bool m_fixedWidth;
bool m_multi;
bool m_noPageTheme;
bool m_buttonBar;
bool m_horzLayout;
// Controls
@@ -142,7 +146,11 @@ enum ID_COMMANDS
ID_ORIENT_RIGHT,
ID_ORIENT_MAX,
ID_SHOW_IMAGES,
ID_FIXEDWIDTH,
ID_MULTI,
ID_NOPAGETHEME,
ID_BUTTONBAR,
ID_HORZ_LAYOUT,
ID_ADD_PAGE,
ID_ADD_PAGE_NO_SELECT,
ID_INSERT_PAGE,