From: Robin Dunn <robin@alldunn.com>
Date: Wed, 25 Oct 2006 20:47:15 +0000 (+0000)
Subject: some GTK1 bulkd fixes from Sander Niemeijer
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/61ecd22547b600cc595b55055edd3b67479de267

some GTK1 bulkd fixes from Sander Niemeijer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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 <CoreFoundation/CFBundle.h>
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 <gdk/gdkx.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkprivate.h>
+#ifdef __WXGTK20__
 #include <wx/gtk/win_gtk.h>
+#else
+#include <wx/gtk1/win_gtk.h>
+#endif
 #define GetXWindow(wxwin) (wxwin)->m_wxwindow ? \
                           GDK_WINDOW_XWINDOW(GTK_PIZZA((wxwin)->m_wxwindow)->bin_window) : \
                           GDK_WINDOW_XWINDOW((wxwin)->m_widget->window)