From bf2c4b942a89de50e29d9296f68420ce43603373 Mon Sep 17 00:00:00 2001 From: David Webster Date: Mon, 27 Nov 2000 20:00:18 +0000 Subject: [PATCH] OS/2 VisualAge doesn't know about lower case true and false and redefine a for loop variable in gdicmn for OS/2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/gdicmn.cpp | 4 +++- src/common/matrix.cpp | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 6e48b25fd3..d9431063ef 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -228,7 +228,9 @@ void wxColourDatabase::Initialize () {wxT("MEDIUM GREY"), 100, 100, 100}, }; - for ( size_t n = 0; n < WXSIZEOF(wxColourTable); n++ ) + size_t n; + + for ( n = 0; n < WXSIZEOF(wxColourTable); n++ ) { const wxColourDesc& cc = wxColourTable[n]; Append(cc.name, new wxColour(cc.r,cc.g,cc.b)); diff --git a/src/common/matrix.cpp b/src/common/matrix.cpp index 1785e0a297..5fb6624086 100644 --- a/src/common/matrix.cpp +++ b/src/common/matrix.cpp @@ -1,4 +1,3 @@ -///////////////////////////////////////////////////////////////////////////// // Name: matrix.cpp // Purpose: wxTransformMatrix class // Author: Chris Breeze, Julian Smart @@ -268,12 +267,12 @@ wxTransformMatrix& wxTransformMatrix::Mirror(bool x, bool y) if (x) { temp.m_matrix[1][1] = -1; - temp.m_isIdentity=false; + temp.m_isIdentity=FALSE; } if (y) { temp.m_matrix[0][0] = -1; - temp.m_isIdentity=false; + temp.m_isIdentity=FALSE; } *this = temp * (*this); -- 2.50.0