From fab8784c715b09462d6b05dd93a3b4776cb205c9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 Oct 2010 22:40:01 +0000 Subject: [PATCH] Treat wxToolbook symmetrically with others in the notebook sample. Use wxToolbook as the default notebook type if the other ones are not available. Closes #12610. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/notebook/notebook.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index c854a99ce3..39533d2175 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -291,6 +291,8 @@ MyFrame::MyFrame() m_type = Type_Listbook; #elif wxUSE_TREEBOOK m_type = Type_Treebook; +#elif wxUSE_TOOLBOOK + m_type = Type_Toolbook; #else #error "Don't use Notebook sample without any book enabled in wxWidgets build!" #endif -- 2.45.2