wxWindows 2 for Motif FAQ

See also top-level FAQ page.

### List of questions in this category

- What version of Motif do I need?
- What features are missing or partially implemented?
- Does Dialog Editor work with wxWindows for Motif?
- Why are windows are not refreshed properly until I resize them?

### 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:

- Clipboard and drag and drop support are currently under development.
- Support for selection of specific visuals.
- Wide character support (but when Unicode is supported under Windows, this support will be relatively easy to add).
- Configurable colour/font settings (they are currently hard-wired in wxSystemSettings).
- A help system (please use wxHelpController and Netscape instead). An HTML widget and help system is in preparation.

### Does Dialog Editor work with wxWindows 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