]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
No real changes, just replace -1 with wxNOT_FOUND in wxBookCtrl code.
[wxWidgets.git] / samples / notebook / notebook.cpp
index c854a99ce3a36e7b96187a7a2091210414c93f1c..39533d2175a8d8a0dda6cd9a4c315cb6721d39b0 100644 (file)
@@ -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