]> git.saurik.com Git - wxWidgets.git/blob - docs/html/faqmot.htm
Some changes in a vain attempt to make Salford C++ work; added FAQ files;
[wxWidgets.git] / docs / html / faqmot.htm
1 <HTML>
2
3 <HEAD>
4 <TITLE>wxWindows 2 for Motif FAQ</TITLE>
5 </HEAD>
6
7 <BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#FF0000 VLINK=#000000>
8
9 <font face="Arial, Lucida Sans, Helvetica">
10
11 <table width=100% border=4 cellpadding=5 cellspacing=0>
12 <tr>
13 <td bgcolor="#660000">
14 <font size=+1 face="Arial, Lucida Sans, Helvetica" color="#FFFFFF">
15 wxWindows 2 for Motif FAQ
16 </font>
17 </td>
18 </tr>
19 </table>
20
21 <P>
22
23 See also <a href="faq.htm">top-level FAQ page</a>.
24 <hr>
25
26 <h3>What version of Motif do I need?</h3>
27
28 You will need version 1.2 or above. Version 2 should also be fine. Some people
29 have had a positive experience with <a href="www.lesstif.org" target=_top>Lesstif</a>,
30 a free Motif clone. (Note from Julian Smart - I use the Linux version of MetroLink Motif).
31
32 <P>
33
34 <h3>What features are missing or partially implemented?</h3>
35
36 The following classes are not yet implemented: wxSpinButton, wxCheckListBox, wxJoyStick,
37 wxGLCanvas.<P>
38
39 The following classes are not likely to be implemented because there is no sensible
40 equivalent on Motif: wxMiniFrame, wxTaskBar.<P>
41
42 wxNotebook works for smaller dialogs (see notebook sample) but has some problems
43 with a more complex situation (see the controls sample: initial resizing is very apparent).
44 <P>
45
46 These features are not yet implemented:<P>
47
48 <ul>
49 <li>Clipboard and drag and drop support are currently under development. Motif clipboard support
50 should work, but currently for text only.
51 <li>Support for selection of specific visuals.
52 <li>Wide character support (but when Unicode is supported under Windows, this support will
53 be relatively easy to add).
54 <li>Configurable colour/font settings (they are currently hard-wired in wxSystemSettings).
55 <li>OnEraseBackground.
56 <li>OnPaint optimization and backing pixmap.
57 <li>A help system (please use wxHelpController and Netscape instead).
58 </ul>
59
60 <p>
61
62 <h3>Does Dialog Editor work with wxWindows for Motif?</h3>
63
64 Suport for Dialog Editor is almost there, but there are some wrinkles to iron
65 out. You may find it's useful though: compile it and see.
66 <P>
67
68 <h3>How do I switch between debugging and release compilation modes?</h3>
69
70 Unfortunately the makefile system doesn't currently allow you to compile
71 for both simultaneously: you need
72 to recompile wxWindows and your application having adjusted make.env. However,
73 you could rename the binary and release library archives, and adjust your makefiles
74 to use the appropriate one (or change a symbolic link).
75 <P>
76
77 <h3>Why are windows are not refreshed properly until I resize them?</h3>
78
79 Very occasionally you can experience this glitch, probably because sometimes the
80 window tries to resize and repaint itself before the final size is known. The workaround
81 is to add code like this after window creation and initialization:<P>
82
83 <PRE>
84 #ifdef __WXMOTIF__
85 wxNoOptimize noOptimize;
86 window->SetSize(-1, -1, w, h);
87 #endif
88 </PRE>
89 <P>
90
91
92 </font>
93
94 </BODY>
95
96 </HTML>