git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40268
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// ----------------------------------------------------------------------------
WidgetsFrame::WidgetsFrame(const wxString& title)
// ----------------------------------------------------------------------------
WidgetsFrame::WidgetsFrame(const wxString& title)
- : wxFrame(NULL, wxID_ANY, title,
- wxDefaultPosition, wxDefaultSize,
- wxDEFAULT_FRAME_STYLE |
- wxNO_FULL_REPAINT_ON_RESIZE |
- wxCLIP_CHILDREN |
- wxTAB_TRAVERSAL)
+ : wxFrame(NULL, wxID_ANY, title)
{
// set the frame icon
SetIcon(wxICON(sample));
{
// set the frame icon
SetIcon(wxICON(sample));
#endif // wxUSE_MENUS
// create controls
#endif // wxUSE_MENUS
// create controls
- m_panel = new wxPanel(this, wxID_ANY,
- wxDefaultPosition, wxDefaultSize, wxCLIP_CHILDREN);
+ m_panel = new wxPanel(this, wxID_ANY);
wxSizer *sizerTop = new wxBoxSizer(wxVERTICAL);
// we have 2 panes: book with pages demonstrating the controls in the
// upper one and the log window with some buttons in the lower
wxSizer *sizerTop = new wxBoxSizer(wxVERTICAL);
// we have 2 panes: book with pages demonstrating the controls in the
// upper one and the log window with some buttons in the lower
- int style = wxNO_FULL_REPAINT_ON_RESIZE|wxCLIP_CHILDREN|wxBK_DEFAULT;
+ int style = wxBK_DEFAULT;
// Uncomment to suppress page theme (draw in solid colour)
//style |= wxNB_NOPAGETHEME;
// Uncomment to suppress page theme (draw in solid colour)
//style |= wxNB_NOPAGETHEME;