wxWidgets 2 for Motif FAQ

See also top-level FAQ page and Unix FAQ page.


List of questions in this category


What version of Motif do I need?

You will need version 1.2 or above. Version 2 should also be fine. Some people have had a positive experience with Lesstif, a free Motif clone. (Note from Julian Smart - I use the Linux version of MetroLink Motif 1.2.4).

What features are missing or partially implemented?

The following classes are not yet implemented: wxSpinButton, wxCheckListBox, wxJoyStick, wxGLCanvas.

The following classes are not likely to be implemented because there is no sensible equivalent on Motif: wxMiniFrame, wxTaskBar.

These features are not yet implemented:

Does Dialog Editor work with wxWidgets for Motif?

Suport for Dialog Editor is almost there, but there are some wrinkles to iron out. You may find it's useful though: compile it and see.

Why are windows are not refreshed properly until I resize them?

Very occasionally you can experience this glitch, probably because sometimes the window tries to resize and repaint itself before the final size is known. The workaround is to add code like this after window creation and initialization:

#ifdef __WXMOTIF__
  wxNoOptimize noOptimize;
  window->SetSize(-1, -1, w, h);
#endif