+// Define a new mini frame
+class MyMiniFrame: public wxMiniFrame
+{
+public:
+ MyMiniFrame(wxFrame *parent, wxWindowID id = -1, const wxString& title = "wxToolBar Sample",
+ const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize );
+
+ void OnCloseWindow(wxCloseEvent& event);
+ void OnReparent(wxCommandEvent& event);
+
+DECLARE_EVENT_TABLE()
+};
+