]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_chckl.cpp
Restore TAB in accelerator string wrong removed by r62791.
[wxWidgets.git] / src / xrc / xh_chckl.cpp
index d4c97f998f4970cd108790aa939a822d70765843..a633b112a9a62498f88981f61d52784099862470 100644 (file)
@@ -72,7 +72,7 @@ wxObject *wxCheckListBoxXmlHandler::DoCreateResource()
                { n = n->GetNext(); continue; }
 
             // checking boolean is a bit ugly here (see GetBool() )
-            wxString v = n->GetPropVal(wxT("checked"), wxEmptyString);
+            wxString v = n->GetAttribute(wxT("checked"), wxEmptyString);
             v.MakeLower();
             if (v == wxT("1"))
                 control->Check( i, true );