git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59425
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxChoicebook::DoSetWindowVariant(wxWindowVariant variant)
{
void wxChoicebook::DoSetWindowVariant(wxWindowVariant variant)
{
- wxCHECK_RET( m_bookctrl, "can't be called before control creation" );
-
- m_bookctrl->SetWindowVariant(variant);
+ wxBookCtrlBase::DoSetWindowVariant(variant);
+ if (m_bookctrl)
+ m_bookctrl->SetWindowVariant(variant);
}
void wxChoicebook::SetImageList(wxImageList *imageList)
}
void wxChoicebook::SetImageList(wxImageList *imageList)