]> git.saurik.com Git - wxWidgets.git/commitdiff
Wrapped two generated literals in _T
authorJulian Smart <julian@anthemion.co.uk>
Tue, 16 Nov 2004 20:49:58 +0000 (20:49 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 16 Nov 2004 20:49:58 +0000 (20:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxrc/wxrc.cpp

index 4600dd9860a4df8e02afbac2a4222558991fbda2..b427f39bcafe177135b51e5af388138c335b986a 100644 (file)
@@ -115,11 +115,11 @@ public:
                 + _T(";\n"));
         }
         file.Write(_T("\nprivate:\n void InitWidgetsFromXRC(){\n")
-                   _T("  wxXmlResource::Get()->LoadObject(this,NULL,\"")
+                   _T("  wxXmlResource::Get()->LoadObject(this,NULL,_T(\"")
                    +  m_className
-                   +  _T("\",\"")
+                   +  _T("\"), _T(\"")
                    +  m_parentClassName
-                   +  _T("\");\n"));
+                   +  _T("\"));\n"));
         for(i=0;i<m_wdata.Count();++i)
         {
             const XRCWidgetData& w = m_wdata.Item(i);