+ // Create the mini frame window
+ mini_frame = new MyMiniFrame( main_frame, -1, "wxMiniFrame sample",
+ wxPoint(100, 100), wxSize(220, 100));
+ mini_frame_exists = TRUE;
+
+ mini_frame->CreateToolBar(wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT, ID_TOOLBAR);
+ InitToolbar(mini_frame->GetToolBar());
+