]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/menu.h
Add a simple example to make it easier to get started (by copy&paste).
[wxWidgets.git] / interface / wx / menu.h
index 98f2eb56ebb68e81a0962f0cc81fae6a3b5d1a2d..56757d6a2da74a2ddd5efac9da3d4edac08d8213 100644 (file)
@@ -73,7 +73,7 @@ public:
         @param menu
             The menu to add. Do not deallocate this menu after calling Append().
         @param title
-            The title of the menu.
+            The title of the menu, must be non-empty.
 
         @return @true on success, @false if an error occurred.
 
@@ -497,7 +497,7 @@ public:
             this string in the status line.
         @param kind
             May be @c wxITEM_SEPARATOR, @c wxITEM_NORMAL, @c wxITEM_CHECK or @c wxITEM_RADIO.
-        
+
         Example:
         @code
         m_pFileMenu->Append(ID_NEW_FILE, "&New file\tCTRL+N", "Creates a new XYZ document");