compilation fix for FALSE -> wxItemKind conversion
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 19 Mar 2002 14:19:37 +0000 (14:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 19 Mar 2002 14:19:37 +0000 (14:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/menu.h

index b1b357c694e9642294a490848d670fc26df437e2..09c0dbd17ed8a0d491c194add99c89d428a97345 100644 (file)
@@ -109,7 +109,8 @@ public:
                 wxMenu *submenu,
                 const wxString& help = wxEmptyString)
     {
-        DoAppend(wxMenuItem::New((wxMenu *)this, id, text, help, FALSE, submenu));
+        DoAppend(wxMenuItem::New((wxMenu *)this, id, text, help,
+                                 wxItem_Normal, submenu));
     }
 
     // the most generic form of Append() - append anything
@@ -163,7 +164,8 @@ public:
                 wxMenu *submenu,
                 const wxString& help = wxEmptyString)
     {
-        Insert(pos, wxMenuItem::New((wxMenu *)this, id, text, help, FALSE, submenu));
+        Insert(pos, wxMenuItem::New((wxMenu *)this, id, text, help,
+                                    wxItem_Normal, submenu));
     }
 
     // prepend an item to the menu