]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_bttn.cpp
oops, forgot to remove temporary debug printf...
[wxWidgets.git] / contrib / src / xml / xh_bttn.cpp
index c73b849310f4f38c3a9d565b7956eb028e1a0232..b0c31f12c18682e4ab5ae65befa2502b28bb96eb 100644 (file)
@@ -32,14 +32,14 @@ wxButtonXmlHandler::wxButtonXmlHandler()
 
 wxObject *wxButtonXmlHandler::DoCreateResource()
 { 
-    wxButton *button = new wxButton(m_ParentAsWindow,
+    wxButton *button = new wxButton(m_parentAsWindow,
                                     GetID(),
-                                    GetText(_T("label")),
+                                    GetText(wxT("label")),
                                     GetPosition(), GetSize(),
                                     GetStyle(),
                                     wxDefaultValidator,
                                     GetName());
-    if (GetBool(_T("default"), 0) == 1) button->SetDefault();
+    if (GetBool(wxT("default"), 0) == 1) button->SetDefault();
     SetupWindow(button);
     
     return button;
@@ -49,7 +49,7 @@ wxObject *wxButtonXmlHandler::DoCreateResource()
 
 bool wxButtonXmlHandler::CanHandle(wxXmlNode *node)
 {
-    return IsOfClass(node, _T("wxButton"));
+    return IsOfClass(node, wxT("wxButton"));
 }