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
This commit is contained in:
David Webster 2000-11-27 20:00:18 +00:00
parent 3bdb723286
commit bf2c4b942a
2 changed files with 5 additions and 4 deletions

View File

@ -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));

View File

@ -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);