[wxPython] wxPython and wxWindows for MOTIF

The instructions for installing wxPython are with wxGTK (wxWindows for GTK).

Are they any problem to do it with wxWindows for Motif?

Or no one have ever try it?

···

--
Robert Lagacé, professeur
Pavillon Comtois
Université Laval
Ste-Foy, Québec, G1K 7P4
tel : (418)-656-2131#2276
Fax : (418)-656-3723
E-mail : lagace@grr.ulaval.ca

The instructions for installing wxPython are with wxGTK (wxWindows for

GTK).

Are they any problem to do it with wxWindows for Motif?

It will take a few modifications to make it work, but I'll gladly accept
patches!

1. wxPython/setup.py assumes wxGTK in a couple places

2. Some work will probably have to be done in wxWindows/src/motif/app.cpp
and probably in wxPython/src/helpers.cpp, but the same things have already
been done for wxGTK so it should be easy to change.

3. Throughout all the *.i files in wxPython/src there are some #ifdef's
based on __WXMSW__ or __WXGTK__ being defined or not, usually to exclude
methods and some classes that are not available in wxGTK. The same will
have to be done for wxMotif, and some of the current #ifdef's may have to be
adjusted as they are assuming just the two platforms, and so may be making
too broad of an exclusion in some cases.

BTW, these are basically the same steps that would need to be done to make a
wxMac port if anybody cares to give it a shot.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!