]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_menu.cpp
Decided I need copy and assignment afterall
[wxWidgets.git] / src / xrc / xh_menu.cpp
index 93d93e08921e10f0e29ccd3036d43745e037ef67..bfa9ed1644115a56362e904d24186e7bc642a524 100644 (file)
@@ -69,7 +69,7 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
             int id = GetID();
             bool checkable = GetBool(wxT("checkable"));
             wxString label = GetText(wxT("label"));
-            wxString accel = GetText(wxT("accel"));
+            wxString accel = GetText(wxT("accel"), FALSE);
             wxString fullLabel = label;
             if (!accel.IsEmpty())
                 fullLabel << wxT("\t") << accel;