added code to test UI updating of menu items in MDI apps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-24 13:36:22 +00:00
parent 3ab6fcee36
commit c9f856af67
2 changed files with 41 additions and 0 deletions

View File

@@ -28,7 +28,11 @@ public:
void OnEvent(wxMouseEvent& event);
void SetText(const wxString& text) { m_text = text; Refresh(); }
private:
wxString m_text;
bool m_dirty;
DECLARE_EVENT_TABLE()
@@ -73,6 +77,11 @@ public:
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()
};