]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_radbt.cpp
removed libxpm dependencies from makefiles
[wxWidgets.git] / contrib / src / xml / xh_radbt.cpp
index d8306a034d2a82399ea6a9c275b93ecd493e406b..2c3bc840be8b3ebd1a99256329f113ae1d20d739 100644 (file)
@@ -40,16 +40,16 @@ wxObject *wxRadioButtonXmlHandler::DoCreateResource()
      * normal radio button.
      */ 
 
-    wxRadioButton *control = new wxRadioButton(m_ParentAsWindow,
+    wxRadioButton *control = new wxRadioButton(m_parentAsWindow,
                                     GetID(),
-                                    GetText(_T("label")),
+                                    GetText(wxT("label")),
                                     GetPosition(), GetSize(),
                                     GetStyle(),
                                     wxDefaultValidator,
                                     GetName()
                                     );
 
-    control->SetValue( GetBool(_T("value"), 0));
+    control->SetValue( GetBool(wxT("value"), 0));
     SetupWindow(control);
     
     return control;
@@ -59,7 +59,7 @@ wxObject *wxRadioButtonXmlHandler::DoCreateResource()
 
 bool wxRadioButtonXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return IsOfClass(node, _T("wxRadioButton"));
+    return IsOfClass(node, wxT("wxRadioButton"));
 }