From: Vadim Zeitlin Date: Mon, 7 Jun 1999 09:47:13 +0000 (+0000) Subject: compilation fix for newer wxGTK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fa16690b7d8d04c339373b42dda545cabf31045f compilation fix for newer wxGTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/user/wxLayout/wxllist.cpp b/user/wxLayout/wxllist.cpp index a52aa0b89d..f28ef6a871 100644 --- a/user/wxLayout/wxllist.cpp +++ b/user/wxLayout/wxllist.cpp @@ -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)