added a menu command to clear log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -157,6 +157,7 @@ public:
|
||||
// menu callbacks
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
void OnClearLog(wxCommandEvent& event);
|
||||
|
||||
void OnTogButtons(wxCommandEvent& event)
|
||||
{ TogStyle(event.GetId(), wxTR_HAS_BUTTONS); }
|
||||
@@ -253,6 +254,7 @@ enum
|
||||
{
|
||||
TreeTest_Quit = wxID_EXIT,
|
||||
TreeTest_About = wxID_ABOUT,
|
||||
TreeTest_ClearLog = wxID_CLEAR,
|
||||
TreeTest_TogButtons = wxID_HIGHEST,
|
||||
TreeTest_TogTwist,
|
||||
TreeTest_TogLines,
|
||||
|
Reference in New Issue
Block a user