Improve sizer support in generic wxNotebook. Fix the widgets sample
to take advantage of it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -327,7 +327,12 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
|
||||
//style |= wxNB_NOPAGETHEME;
|
||||
|
||||
m_book = new wxBookCtrl(m_panel, wxID_ANY, wxDefaultPosition,
|
||||
wxDefaultSize, style);
|
||||
#ifdef __WXMOTIF__
|
||||
wxSize(500, -1), // under Motif, height is a function of the width...
|
||||
#else
|
||||
wxDefaultSize,
|
||||
#endif
|
||||
style);
|
||||
InitBook();
|
||||
|
||||
#ifndef __SMARTPHONE__
|
||||
|
Reference in New Issue
Block a user