]> git.saurik.com Git - wxWidgets.git/commitdiff
Opening first subpage initially.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 17 May 2006 22:21:29 +0000 (22:21 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 17 May 2006 22:21:29 +0000 (22:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/widgets/widgets.cpp

index f432060c34198ea2c80d2c29d1ce94d0445708a1..c4c1039a11670f15960becdb148ca4df3d922963 100644 (file)
@@ -544,6 +544,7 @@ void WidgetsFrame::InitBook()
 #if USE_TREEBOOK
     // for treebook page #0 is empty parent page only
     m_book->SetSelection(1);
+    m_book->SetSelection(0);
 #endif
 }