]> git.saurik.com Git - wxWidgets.git/commitdiff
menu help texts added (it now works in wxGTK too, great!)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Feb 1999 16:59:17 +0000 (16:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Feb 1999 16:59:17 +0000 (16:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/minimal/minimal.cpp

index 05b2456444df40aa08bb0adec0e9ff0432a86df7..978db2a25476b94343ae71715c8621575ade4ce3 100644 (file)
@@ -151,9 +151,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     // create a menu bar
     wxMenu *menuFile = new wxMenu;
 
-    menuFile->Append(Minimal_About, "&About...");
+    menuFile->Append(Minimal_About, "&About...", "Show about dialog");
     menuFile->AppendSeparator();
-    menuFile->Append(Minimal_Quit, "E&xit");
+    menuFile->Append(Minimal_Quit, "E&xit", "Quit this program");
 
     // now append the freshly created menu to the menu bar...
     wxMenuBar *menuBar = new wxMenuBar;