From 4d073429a06c885db6440b79d754d8316d847223 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Wed, 28 Jan 2004 14:41:59 +0000 Subject: [PATCH] Applied patch #886192: "Minor fix to XRC contrib"; Minor cosmetic cleanups. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xrc/xh_statbar.cpp | 8 ++++---- src/xrc/xh_statbar.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/src/xrc/xh_statbar.cpp b/contrib/src/xrc/xh_statbar.cpp index ef9f2e19c2..a31db982a4 100644 --- a/contrib/src/xrc/xh_statbar.cpp +++ b/contrib/src/xrc/xh_statbar.cpp @@ -3,7 +3,7 @@ // Purpose: XRC resource for wxStatusBar // Author: Brian Ravnsgaard Riis // Created: 2004/01/21 -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) 2004 Brian Ravnsgaard Riis // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -29,7 +29,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler) -wxStatusBarXmlHandler::wxStatusBarXmlHandler() : +wxStatusBarXmlHandler::wxStatusBarXmlHandler() : wxXmlResourceHandler() { XRC_ADD_STYLE(wxST_SIZEGRIP); @@ -51,8 +51,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource() if(fields > 1) { int *width = new int[fields]; - - for (unsigned int i = 0; i < fields; ++i) + + for (int i = 0; i < fields; ++i) { width[i] = wxAtoi(widths.BeforeFirst(wxT(','))); if(widths.Find(wxT(','))) diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index ef9f2e19c2..a31db982a4 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -3,7 +3,7 @@ // Purpose: XRC resource for wxStatusBar // Author: Brian Ravnsgaard Riis // Created: 2004/01/21 -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) 2004 Brian Ravnsgaard Riis // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -29,7 +29,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler) -wxStatusBarXmlHandler::wxStatusBarXmlHandler() : +wxStatusBarXmlHandler::wxStatusBarXmlHandler() : wxXmlResourceHandler() { XRC_ADD_STYLE(wxST_SIZEGRIP); @@ -51,8 +51,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource() if(fields > 1) { int *width = new int[fields]; - - for (unsigned int i = 0; i < fields; ++i) + + for (int i = 0; i < fields; ++i) { width[i] = wxAtoi(widths.BeforeFirst(wxT(','))); if(widths.Find(wxT(','))) -- 2.45.2