Fixed crash in book pages.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-07-11 12:40:38 +00:00
parent a7a11b21f5
commit 315a592c4e

View File

@@ -286,6 +286,8 @@ void BookWidgetsPage::CreateContent()
sizerTop->Add(sizerMiddle, 0, wxGROW | wxALL, 10);
sizerTop->Add(m_sizerBook, 1, wxGROW | (wxALL & ~wxRIGHT), 10);
RecreateBook();
// final initializations
Reset();
#if USE_ICONS_IN_BOOK
@@ -570,7 +572,6 @@ protected:
return new wxNotebook(this, BookPage_Book,
wxDefaultPosition, wxDefaultSize,
flags);
}
private:
@@ -652,7 +653,6 @@ protected:
return new wxListbook(this, BookPage_Book,
wxDefaultPosition, wxDefaultSize,
flags);
}
private:
@@ -726,7 +726,6 @@ protected:
return new wxChoicebook(this, BookPage_Book,
wxDefaultPosition, wxDefaultSize,
flags);
}
private: