]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix gtk+ 1.2 compilation...
authorOve Kaaven <ovek@arcticnet.no>
Mon, 24 Jul 2000 23:44:17 +0000 (23:44 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 24 Jul 2000 23:44:17 +0000 (23:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dcclient.cpp
src/gtk1/dcclient.cpp

index 492f5eaebb7eb17e62247605f4991dab30436652..cae82754f93f628b6b632ca7aaa35fd495cf495b 100644 (file)
@@ -79,9 +79,8 @@ void gdk_wx_draw_bitmap     (GdkDrawable  *drawable,
                           gint                width,
                           gint                height)
 {
-#ifdef __WXGTK20__
     gint src_width, src_height;
-#else
+#ifndef __WXGTK20__
     GdkWindowPrivate *drawable_private;
     GdkWindowPrivate *src_private;
     GdkGCPrivate *gc_private;
index 492f5eaebb7eb17e62247605f4991dab30436652..cae82754f93f628b6b632ca7aaa35fd495cf495b 100644 (file)
@@ -79,9 +79,8 @@ void gdk_wx_draw_bitmap     (GdkDrawable  *drawable,
                           gint                width,
                           gint                height)
 {
-#ifdef __WXGTK20__
     gint src_width, src_height;
-#else
+#ifndef __WXGTK20__
     GdkWindowPrivate *drawable_private;
     GdkWindowPrivate *src_private;
     GdkGCPrivate *gc_private;