some GTK1 bulkd fixes from Sander Niemeijer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-25 20:47:15 +00:00
parent 55420742a1
commit 61ecd22547
4 changed files with 11 additions and 1 deletions

View File

@@ -196,3 +196,8 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const
return wxPORT_GTK; return wxPORT_GTK;
} }
wxString wxGUIAppTraits::GetDesktopEnvironment() const
{
return wxEmptyString;
}

View File

@@ -31,7 +31,6 @@
#include "wx/mac/private.h" #include "wx/mac/private.h"
#endif #endif
#include "wx/mac/corefoundation/cfstring.h" #include "wx/mac/corefoundation/cfstring.h"
#include "wx/mac/private.h"
#if defined(__DARWIN__) #if defined(__DARWIN__)
#include <CoreFoundation/CFBundle.h> #include <CoreFoundation/CFBundle.h>

View File

@@ -793,6 +793,8 @@ else:
i_files = glob.glob(opj("src/*.i")) + \ i_files = glob.glob(opj("src/*.i")) + \
glob.glob(opj("src/_*.py")) + \ glob.glob(opj("src/_*.py")) + \
glob.glob(opj("src/*.swg")) glob.glob(opj("src/*.swg"))
if BUILD_GLCANVAS:
i_files += glob.glob(opj("contrib/glcanvas/*.i"))
HEADERS = zip(h_files, ["/wxPython"]*len(h_files)) + \ HEADERS = zip(h_files, ["/wxPython"]*len(h_files)) + \
zip(i_files, ["/wxPython/i_files"]*len(i_files)) zip(i_files, ["/wxPython/i_files"]*len(i_files))

View File

@@ -29,7 +29,11 @@
#include <gdk/gdkx.h> #include <gdk/gdkx.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gdk/gdkprivate.h> #include <gdk/gdkprivate.h>
#ifdef __WXGTK20__
#include <wx/gtk/win_gtk.h> #include <wx/gtk/win_gtk.h>
#else
#include <wx/gtk1/win_gtk.h>
#endif
#define GetXWindow(wxwin) (wxwin)->m_wxwindow ? \ #define GetXWindow(wxwin) (wxwin)->m_wxwindow ? \
GDK_WINDOW_XWINDOW(GTK_PIZZA((wxwin)->m_wxwindow)->bin_window) : \ GDK_WINDOW_XWINDOW(GTK_PIZZA((wxwin)->m_wxwindow)->bin_window) : \
GDK_WINDOW_XWINDOW((wxwin)->m_widget->window) GDK_WINDOW_XWINDOW((wxwin)->m_widget->window)