Patch #2878 2009-12-27 19:00

techy

Different type used in xrc and XRCCTRL (debug6)
Download
2878-Different_type.patch (694 bytes)
Category
Application::Bugfix
Status
Accepted
Close date
2009-12-31 14:54
Assigned to
mortenmacfly
Index: src/sdk/projectfileoptionsdlg.cpp
===================================================================
--- src/sdk/projectfileoptionsdlg.cpp    (revision 5986)
+++ src/sdk/projectfileoptionsdlg.cpp    (working copy)
@@ -182,8 +182,8 @@
     }
     XRCCTRL(*this, "txtObjName",               wxTextCtrl)->Enable(false);
     // included files not implemented yet -> hide it
-    XRCCTRL(*this, "staticIncludedFilesLabel", wxTextCtrl)->Hide();
-    XRCCTRL(*this, "staticIncludedFiles",      wxTextCtrl)->Hide();
+    XRCCTRL(*this, "staticIncludedFilesLabel", wxStaticText)->Hide();
+    XRCCTRL(*this, "staticIncludedFiles",      wxStaticText)->Hide();
 
     if (pf->AutoGeneratedBy())
     {