]> git.saurik.com Git - wxWidgets.git/commitdiff
wxLogWindow now uses standard menu ids
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 24 Feb 2000 00:01:44 +0000 (00:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 24 Feb 2000 00:01:44 +0000 (00:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index 16f6148ca46f0dce83e016f37d41fb6d8163e9fe..56f92fe68d9151cdb43f3fc2b5fb5de9e205b340 100644 (file)
@@ -385,11 +385,12 @@ public:
     wxTextCtrl *TextCtrl() const { return m_pTextCtrl; }
 
 private:
+    // use standard ids for our commands!
     enum
     {
-        Menu_Close = 100,
-        Menu_Save,
-        Menu_Clear
+        Menu_Close = wxID_CLOSE,
+        Menu_Save  = wxID_SAVE,
+        Menu_Clear = wxID_CLEAR
     };
 
     // instead of closing just hide the window to be able to Show() it later