]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_menu.cpp
Do not allow multiple selection when dragging in the 'value' column
[wxWidgets.git] / src / xrc / xh_menu.cpp
index fe700cdd5c45b69eb3d1258ef563c92804bd8adb..f6cc1963f1c3d8187f8a8ccb6c8dc5b5ed776dd8 100644 (file)
@@ -91,9 +91,11 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
             {
                 if ( kind != wxITEM_NORMAL )
                 {
-                    wxLogWarning(_("XRC syntax error: a menu item can't have "
-                                   "both \"radio\" and \"checkable\" "
-                                   "properties, ignoring the former."));
+                    ReportParamError
+                    (
+                        "checkable",
+                        "menu item can't have both <radio> and <checkable> properties"
+                    );
                 }
 
                 kind = wxITEM_CHECK;