const wxCoord MARGIN = 5;
// ----------------------------------------------------------------------------
-// various wxWindows macros
+// various wxWidgets macros
// ----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxListbook, wxControl)
m_line = new wxStaticLine
(
this,
- -1,
+ wxID_ANY,
wxDefaultPosition,
wxDefaultSize,
IsVertical() ? wxLI_HORIZONTAL : wxLI_VERTICAL
page->Hide();
}
+ InvalidateBestSize();
return true;
}