]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for newer wxGTK
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Jun 1999 09:47:13 +0000 (09:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Jun 1999 09:47:13 +0000 (09:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

user/wxLayout/wxllist.cpp

index a52aa0b89ddaf468f29f0dcd9460075f221c434a..f28ef6a871b64126be157772ad8f94c3a2df3a7e 100644 (file)
@@ -107,7 +107,7 @@ bool operator <=(wxPoint const &p1, wxPoint const &p2)
 /*
   The following STAY HERE until we have a working wxGTK again!!!
 */
-#ifdef __WXGTK__
+#ifndef wxWANTS_CHARS
 /// allows me to compare to wxPoints
 bool operator ==(wxPoint const &p1, wxPoint const &p2)
 {
@@ -126,7 +126,7 @@ wxPoint & operator += (wxPoint &p1, wxPoint const &p2)
    p1.y += p2.y;
    return p1;
 }
-#endif // wxGTK
+#endif // old wxGTK
 
 /// allows me to compare to wxPoints
 bool operator>(wxPoint const &p1, wxPoint const &p2)