From 61ecd22547b600cc595b55055edd3b67479de267 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 25 Oct 2006 20:47:15 +0000 Subject: [PATCH] some GTK1 bulkd fixes from Sander Niemeijer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk1/utilsgtk.cpp | 5 +++++ src/mac/corefoundation/stdpaths_cf.cpp | 1 - wxPython/setup.py | 2 ++ wxPython/src/helpers.cpp | 4 ++++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 35524cd469..3439ce69e6 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -196,3 +196,8 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const return wxPORT_GTK; } + +wxString wxGUIAppTraits::GetDesktopEnvironment() const +{ + return wxEmptyString; +} diff --git a/src/mac/corefoundation/stdpaths_cf.cpp b/src/mac/corefoundation/stdpaths_cf.cpp index d4068cc2fa..451acd14df 100644 --- a/src/mac/corefoundation/stdpaths_cf.cpp +++ b/src/mac/corefoundation/stdpaths_cf.cpp @@ -31,7 +31,6 @@ #include "wx/mac/private.h" #endif #include "wx/mac/corefoundation/cfstring.h" -#include "wx/mac/private.h" #if defined(__DARWIN__) #include diff --git a/wxPython/setup.py b/wxPython/setup.py index 0960cd8487..f0068aa9ec 100755 --- a/wxPython/setup.py +++ b/wxPython/setup.py @@ -793,6 +793,8 @@ else: i_files = glob.glob(opj("src/*.i")) + \ glob.glob(opj("src/_*.py")) + \ glob.glob(opj("src/*.swg")) + if BUILD_GLCANVAS: + i_files += glob.glob(opj("contrib/glcanvas/*.i")) HEADERS = zip(h_files, ["/wxPython"]*len(h_files)) + \ zip(i_files, ["/wxPython/i_files"]*len(i_files)) diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index 8da21b5270..07c2808dc4 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -29,7 +29,11 @@ #include #include #include +#ifdef __WXGTK20__ #include +#else +#include +#endif #define GetXWindow(wxwin) (wxwin)->m_wxwindow ? \ GDK_WINDOW_XWINDOW(GTK_PIZZA((wxwin)->m_wxwindow)->bin_window) : \ GDK_WINDOW_XWINDOW((wxwin)->m_widget->window) -- 2.45.2