GetSizer()->SetSizeHints(this);
if (centreFlags)
Centre(centreFlags);
+#else
+ wxUnusedVar(centreFlags);
#endif
#if defined(__SMARTPHONE__)
if (m_bookCtrl)
bookCtrl = new wxBookCtrl(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style );
if (GetSheetStyle() & wxPROPSHEET_SHRINKTOFIT)
- bookCtrl->SetShrinkMode(true);
+ bookCtrl->SetFitToCurrentPage(true);
return bookCtrl;
}