- {
- ReadRect(x,y,width,height);
- m_xmlfile.Write("\t\t<object class=\"wxCheckBox\"");
- WriteBasicInfo(x,y,width,height,varname);
- WriteLabel(label);
- m_xmlfile.Write("\t\t</object>\n");
- }
-
- if (token.Find("BS_AUTORADIOBUTTON")!=-1)
- {
- ReadRect(x,y,width,height);
- m_xmlfile.Write("\t\t<object class=\"wxRadioButton\"");
- WriteBasicInfo(x,y,width,height,varname);
- WriteLabel(label);
- m_xmlfile.Write("\t\t</object>\n");
- }
-
+ ParseCheckBox(label, varname);
+ else if ((token.Find("BS_AUTORADIOBUTTON")!=-1)||
+ (token.Find("BS_RADIOBUTTON")!=-1))
+ ParseRadioButton(label, varname);
+ else if (token.Find("BS_GROUPBOX")!=-1)
+ ParseGroupBox(label, varname);
+ else // if ((token.Find("BS_PUSHBUTTON")!=-1)||
+// (token.Find("BS_DEFPUSHBUTTON")!=-1))
+ ParsePushButton(label, varname); // make default case