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:
parent
90fae67de9
commit
d52e91c980
@ -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
|
||||
|
@ -219,7 +219,9 @@ extern bool g_mainThreadLocked;
|
||||
// debug
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __WXGTK20__
|
||||
#define DISABLE_STYLE_IF_BROKEN_THEME 1
|
||||
#endif
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
|
@ -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
|
||||
|
@ -219,7 +219,9 @@ extern bool g_mainThreadLocked;
|
||||
// debug
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __WXGTK20__
|
||||
#define DISABLE_STYLE_IF_BROKEN_THEME 1
|
||||
#endif
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user