X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fd11f09718445c5795526c393f2b2a1875f6870..ae80f83724464f0d178d85a60e1ba6e9a1c4ae8f:/samples/minifram/test.cpp diff --git a/samples/minifram/test.cpp b/samples/minifram/test.cpp index 1470996901..7cb4e05da5 100644 --- a/samples/minifram/test.cpp +++ b/samples/minifram/test.cpp @@ -53,17 +53,17 @@ bool MyApp::OnInit(void) { // Create the mini frame window mini_frame = new MyMiniFrame((wxFrame *) NULL, -1, "wxMiniFrame sample", - wxPoint(100, 100), wxSize(205, 100)); + wxPoint(100, 100), wxSize(220, 100)); mini_frame_exists = TRUE; - mini_frame->CreateToolBar(wxNO_BORDER|wxHORIZONTAL|wxTB_FLAT, ID_TOOLBAR); + mini_frame->CreateToolBar(wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT, ID_TOOLBAR); InitToolbar(mini_frame->GetToolBar()); // Create the main frame window main_frame = new MyMainFrame((wxFrame *) NULL, -1, "wxFrame sample", wxPoint(100, 100), wxSize(300, 200)); - main_frame->CreateToolBar(wxNO_BORDER|wxHORIZONTAL, ID_TOOLBAR); + main_frame->CreateToolBar(wxNO_BORDER|wxTB_VERTICAL, ID_TOOLBAR); InitToolbar(main_frame->GetToolBar()); button = new wxButton( main_frame, ID_REPARENT, "Press to reparent!" );