From 2f5dec2e529ab6698c0dae47688223297f749412 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 27 May 2011 09:46:27 +0000 Subject: [PATCH] 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 --- src/gtk/dcclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2