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:
@@ -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()
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user