]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcclient.cpp
speeding up rectangle drawing by using specific methods, needs 40% less time
[wxWidgets.git] / src / gtk / dcclient.cpp
index 798b1f413f1ef72c3d3c3320690fa26707ffaa7b..f9a123a20f2caaf4810ddc73b483e409b7839b0a 100644 (file)
@@ -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);