Fix compile errors with VC 6. Untabified.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-18 17:23:31 +00:00
parent 6db1f43b6c
commit aa063b2408
2 changed files with 128 additions and 128 deletions

View File

@@ -90,7 +90,8 @@ public:
file.Write(_T("class ") + m_className + _T(" : public ") + m_parentClassName file.Write(_T("class ") + m_className + _T(" : public ") + m_parentClassName
+ _T(" {\nprotected:\n")); + _T(" {\nprotected:\n"));
for(size_t i=0;i<m_wdata.Count();++i){ size_t i;
for(i=0;i<m_wdata.Count();++i){
const XRCWidgetData& w = m_wdata.Item(i); const XRCWidgetData& w = m_wdata.Item(i);
file.Write( file.Write(
_T(" ") + w.GetClass() + _T("* ") + w.GetName() _T(" ") + w.GetClass() + _T("* ") + w.GetName()
@@ -99,13 +100,12 @@ public:
file.Write(_T("\nprivate:\n void InitWidgetsFromXRC(){\n") file.Write(_T("\nprivate:\n void InitWidgetsFromXRC(){\n")
_T(" wxXmlResource::Get()->LoadObject(this,NULL,\"") _T(" wxXmlResource::Get()->LoadObject(this,NULL,\"")
+ m_className + m_className
+ +_T("\",\"") + _T("\",\"")
+ m_parentClassName + m_parentClassName
+ _T("\");\n")); + _T("\");\n"));
for(size_t i=0;i<m_wdata.Count();++i){ for(i=0;i<m_wdata.Count();++i){
const XRCWidgetData& w = m_wdata.Item(i); const XRCWidgetData& w = m_wdata.Item(i);
file.Write( file.Write( _T(" ")
_T(" ")
+ w.GetName() + w.GetName()
+ _T(" = XRCCTRL(*this,\"") + _T(" = XRCCTRL(*this,\"")
+ w.GetName() + w.GetName()

View File

@@ -90,7 +90,8 @@ public:
file.Write(_T("class ") + m_className + _T(" : public ") + m_parentClassName file.Write(_T("class ") + m_className + _T(" : public ") + m_parentClassName
+ _T(" {\nprotected:\n")); + _T(" {\nprotected:\n"));
for(size_t i=0;i<m_wdata.Count();++i){ size_t i;
for(i=0;i<m_wdata.Count();++i){
const XRCWidgetData& w = m_wdata.Item(i); const XRCWidgetData& w = m_wdata.Item(i);
file.Write( file.Write(
_T(" ") + w.GetClass() + _T("* ") + w.GetName() _T(" ") + w.GetClass() + _T("* ") + w.GetName()
@@ -99,13 +100,12 @@ public:
file.Write(_T("\nprivate:\n void InitWidgetsFromXRC(){\n") file.Write(_T("\nprivate:\n void InitWidgetsFromXRC(){\n")
_T(" wxXmlResource::Get()->LoadObject(this,NULL,\"") _T(" wxXmlResource::Get()->LoadObject(this,NULL,\"")
+ m_className + m_className
+ +_T("\",\"") + _T("\",\"")
+ m_parentClassName + m_parentClassName
+ _T("\");\n")); + _T("\");\n"));
for(size_t i=0;i<m_wdata.Count();++i){ for(i=0;i<m_wdata.Count();++i){
const XRCWidgetData& w = m_wdata.Item(i); const XRCWidgetData& w = m_wdata.Item(i);
file.Write( file.Write( _T(" ")
_T(" ")
+ w.GetName() + w.GetName()
+ _T(" = XRCCTRL(*this,\"") + _T(" = XRCCTRL(*this,\"")
+ w.GetName() + w.GetName()