More GTK+ 1.3.1 fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2001-02-13 17:40:08 +00:00
parent 90fae67de9
commit d52e91c980
4 changed files with 18 additions and 0 deletions

View File

@ -16,7 +16,14 @@
#include <gdk/gdk.h>
#include <gtk/gtk.h>
// Unfortunately the new way of implementing the region iterator
// doesn't work with GTK+ 2.0 or above (can't access a Region in
// GdkPrivateRegion)
#ifdef __WXGTK20__
#define OLDCODE 1
#else
#define OLDCODE 0
#endif
//-----------------------------------------------------------------------------
// wxRegion

View File

@ -219,7 +219,9 @@ extern bool g_mainThreadLocked;
// debug
//-----------------------------------------------------------------------------
#ifndef __WXGTK20__
#define DISABLE_STYLE_IF_BROKEN_THEME 1
#endif
#ifdef __WXDEBUG__

View File

@ -16,7 +16,14 @@
#include <gdk/gdk.h>
#include <gtk/gtk.h>
// Unfortunately the new way of implementing the region iterator
// doesn't work with GTK+ 2.0 or above (can't access a Region in
// GdkPrivateRegion)
#ifdef __WXGTK20__
#define OLDCODE 1
#else
#define OLDCODE 0
#endif
//-----------------------------------------------------------------------------
// wxRegion

View File

@ -219,7 +219,9 @@ extern bool g_mainThreadLocked;
// debug
//-----------------------------------------------------------------------------
#ifndef __WXGTK20__
#define DISABLE_STYLE_IF_BROKEN_THEME 1
#endif
#ifdef __WXDEBUG__