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:
parent
3bdb723286
commit
bf2c4b942a
@ -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));
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user