From: Vadim Zeitlin Date: Fri, 27 May 2011 09:46:27 +0000 (+0000) Subject: Use #ifdef, not #if, to check for __WXGTK26__ symbol. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2f5dec2e529ab6698c0dae47688223297f749412 Use #ifdef, not #if, to check for __WXGTK26__ symbol. This fixes gcc warning given if __WXGTK26__ is not defined (which almost never happens nowadays but still). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 798b1f413f..f9a123a20f 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -1492,7 +1492,7 @@ void wxWindowDCImpl::DoDrawRotatedText( const wxString &text, wxCoord x, wxCoord wxCHECK_RET( IsOk(), wxT("invalid window dc") ); -#if __WXGTK26__ +#ifdef __WXGTK26__ if (!gtk_check_version(2,6,0)) { x = XLOG2DEV(x);