Hello,
I was able to build wxWindows with Gtk+ 2.0. Unfortunately I was unable to get wxPython to build.
I'm on a RH8.0 system.
I made the following change to setup.py.
--- setup.py.original 2002-11-12 12:19:30.000000000 -0500
+++ setup.py 2002-11-12 12:21:53.000000000 -0500
@@ -337,7 +337,7 @@
libs = []
cflags = os.popen(WX_CONFIG + ' --cxxflags', 'r').read()[:-1] + ' ' + \
- os.popen('gtk-config --cflags', 'r').read()[:-1]
+ os.popen('pkg-config --cflags gtk+-2.0', 'r').read()[:-1]
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
There also seems to be a problem in src/helpers.cpp wxPyGetWinHandle(wxWindow* win) where it uses private variables that seem to have changed. I couldn't figure out a way to get the xwindow handle using the public API.
The next possible problem I encountered was in src/gtk/fonts.cpp.
Has work started on the GTK2 port? Can I be of any help?
Is this even the proper list for wxPython development issues?
Thanks,
Jon
PS. This porting guide may be helpful <http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html#id2772081>