97 lines
2.8 KiB
HTML
97 lines
2.8 KiB
HTML
|
<HTML>
|
||
|
|
||
|
<HEAD>
|
||
|
<TITLE>wxWindows 2 for Motif FAQ</TITLE>
|
||
|
</HEAD>
|
||
|
|
||
|
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#FF0000 VLINK=#000000>
|
||
|
|
||
|
<font face="Arial, Lucida Sans, Helvetica">
|
||
|
|
||
|
<table width=100% border=4 cellpadding=5 cellspacing=0>
|
||
|
<tr>
|
||
|
<td bgcolor="#660000">
|
||
|
<font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
|
||
|
wxWindows 2 for Motif FAQ
|
||
|
</font>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<P>
|
||
|
|
||
|
See also <a href="faq.htm">top-level FAQ page</a>.
|
||
|
<hr>
|
||
|
|
||
|
<h3>What version of Motif do I need?</h3>
|
||
|
|
||
|
You will need version 1.2 or above. Version 2 should also be fine. Some people
|
||
|
have had a positive experience with <a href="www.lesstif.org" target=_top>Lesstif</a>,
|
||
|
a free Motif clone. (Note from Julian Smart - I use the Linux version of MetroLink Motif).
|
||
|
|
||
|
<P>
|
||
|
|
||
|
<h3>What features are missing or partially implemented?</h3>
|
||
|
|
||
|
The following classes are not yet implemented: wxSpinButton, wxCheckListBox, wxJoyStick,
|
||
|
wxGLCanvas.<P>
|
||
|
|
||
|
The following classes are not likely to be implemented because there is no sensible
|
||
|
equivalent on Motif: wxMiniFrame, wxTaskBar.<P>
|
||
|
|
||
|
wxNotebook works for smaller dialogs (see notebook sample) but has some problems
|
||
|
with a more complex situation (see the controls sample: initial resizing is very apparent).
|
||
|
<P>
|
||
|
|
||
|
These features are not yet implemented:<P>
|
||
|
|
||
|
<ul>
|
||
|
<li>Clipboard and drag and drop support are currently under development. Motif clipboard support
|
||
|
should work, but currently for text only.
|
||
|
<li>Support for selection of specific visuals.
|
||
|
<li>Wide character support (but when Unicode is supported under Windows, this support will
|
||
|
be relatively easy to add).
|
||
|
<li>Configurable colour/font settings (they are currently hard-wired in wxSystemSettings).
|
||
|
<li>OnEraseBackground.
|
||
|
<li>OnPaint optimization and backing pixmap.
|
||
|
<li>A help system (please use wxHelpController and Netscape instead).
|
||
|
</ul>
|
||
|
|
||
|
<p>
|
||
|
|
||
|
<h3>Does Dialog Editor work with wxWindows for Motif?</h3>
|
||
|
|
||
|
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.
|
||
|
<P>
|
||
|
|
||
|
<h3>How do I switch between debugging and release compilation modes?</h3>
|
||
|
|
||
|
Unfortunately the makefile system doesn't currently allow you to compile
|
||
|
for both simultaneously: you need
|
||
|
to recompile wxWindows and your application having adjusted make.env. However,
|
||
|
you could rename the binary and release library archives, and adjust your makefiles
|
||
|
to use the appropriate one (or change a symbolic link).
|
||
|
<P>
|
||
|
|
||
|
<h3>Why are windows are not refreshed properly until I resize them?</h3>
|
||
|
|
||
|
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:<P>
|
||
|
|
||
|
<PRE>
|
||
|
#ifdef __WXMOTIF__
|
||
|
wxNoOptimize noOptimize;
|
||
|
window->SetSize(-1, -1, w, h);
|
||
|
#endif
|
||
|
</PRE>
|
||
|
<P>
|
||
|
|
||
|
|
||
|
</font>
|
||
|
|
||
|
</BODY>
|
||
|
|
||
|
</HTML>
|