git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4034
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
SetMenuBar(menuBar);
m_splitter = new MySplitterWindow(this, SPLITTER_WINDOW);
+
+ wxSize sz( m_splitter->GetSize() );
+ wxLogMessage( "Initial splitter size: %d %d\n", (int)sz.x, (int)sz.y );
m_leftCanvas = new MyCanvas(m_splitter, CANVAS1, 0, 0, 400, 400, "Test1" );
m_leftCanvas->SetBackgroundColour(*wxRED);
win->SetSize( alloc->x, alloc->y, alloc->width, alloc->height );
if (win->GetAutoLayout())
- {
win->Layout();
- }
}
//-----------------------------------------------------------------------------
win->SetSize( alloc->x, alloc->y, alloc->width, alloc->height );
if (win->GetAutoLayout())
- {
win->Layout();
- }
}
//-----------------------------------------------------------------------------