]> git.saurik.com Git - wxWidgets.git/commitdiff
OS/2 VisualAge doesn't know about lower case true and false and redefine a for loop...
authorDavid Webster <Dave.Webster@bhmi.com>
Mon, 27 Nov 2000 20:00:18 +0000 (20:00 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Mon, 27 Nov 2000 20:00:18 +0000 (20:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/gdicmn.cpp
src/common/matrix.cpp

index 6e48b25fd3f6c93049d1c0afc6ddfc104e0d6137..d9431063ef60c6393de70c75ce627130f8c57b8a 100644 (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));
index 1785e0a2972a8473a102ca2d1412ff70c571419a..5fb66240868ad54339af30def6178d80371230b7 100644 (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);