]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.h
replace @seealso with @see; as Vaclav pointed out we shouldn't use custom aliases...
[wxWidgets.git] / samples / mdi / mdi.h
index 62e3551f244abcba99f8681670c2400821934984..2a2966755767525fdade53d144b016b7f16b9ec4 100644 (file)
@@ -28,7 +28,11 @@ public:
 
     void OnEvent(wxMouseEvent& event);
 
 
     void OnEvent(wxMouseEvent& event);
 
+    void SetText(const wxString& text) { m_text = text; Refresh(); }
+
 private:
 private:
+    wxString m_text;
+
     bool m_dirty;
 
     DECLARE_EVENT_TABLE()
     bool m_dirty;
 
     DECLARE_EVENT_TABLE()
@@ -46,7 +50,6 @@ public:
     void InitToolBar(wxToolBar* toolBar);
 
     void OnSize(wxSizeEvent& event);
     void InitToolBar(wxToolBar* toolBar);
 
     void OnSize(wxSizeEvent& event);
-    void OnIconize(wxIconizeEvent& event);
     void OnAbout(wxCommandEvent& event);
     void OnNewWindow(wxCommandEvent& event);
     void OnQuit(wxCommandEvent& event);
     void OnAbout(wxCommandEvent& event);
     void OnNewWindow(wxCommandEvent& event);
     void OnQuit(wxCommandEvent& event);
@@ -74,6 +77,11 @@ public:
     void OnMove(wxMoveEvent& event);
     void OnClose(wxCloseEvent& event);
 
     void OnMove(wxMoveEvent& event);
     void OnClose(wxCloseEvent& event);
 
+#if wxUSE_CLIPBOARD
+    void OnPaste(wxCommandEvent& event);
+    void OnUpdatePaste(wxUpdateUIEvent& event);
+#endif // wxUSE_CLIPBOARD
+
     DECLARE_EVENT_TABLE()
 };
 
     DECLARE_EVENT_TABLE()
 };