Changed function to SetFitToCurrentPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,7 +164,7 @@ wxBookCtrlBase* wxPropertySheetDialog::CreateBookCtrl()
|
||||
bookCtrl = new wxBookCtrl(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style );
|
||||
|
||||
if (GetSheetStyle() & wxPROPSHEET_SHRINKTOFIT)
|
||||
bookCtrl->SetShrinkMode(true);
|
||||
bookCtrl->SetFitToCurrentPage(true);
|
||||
|
||||
return bookCtrl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user