X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72195a0fd23def9b31434ca8de4805b4a6db730f..3da93aae505563c359f58b357e6c79cd117c5320:/samples/splitter/test.cpp diff --git a/samples/splitter/test.cpp b/samples/splitter/test.cpp index 64a0228da3..d443b1ad67 100644 --- a/samples/splitter/test.cpp +++ b/samples/splitter/test.cpp @@ -166,6 +166,9 @@ MyFrame::MyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos, cons 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);