6 -------------------------------o-------------------------
8 General comment: see the following site for useful Motif widgets.
9 ftp://ftp.x.org/contrib/widgets/motif
11 Also, grep for TODO comments in source.
16 - Work out why XFreeFont in font.cpp produces a segv. This is
17 currently commented out, which presumably causes a memory leak.
19 - Also work out why wxWindow::SetFont causes the widget to be shrunk
20 to fit its text, in dialogs. Uncomment the SetFont implementation and pop
21 up a dialog, e.g. an About box. Widgets are arranged
22 incorrectly. Seems to be OK for non-dialog panels, once the
23 size has been restored after the font setting.
24 In fact it seems OK for dialogs now!!! Weird.
26 - ChangeFont should have an extra arg, to allow for not resizing
27 the window back to the original size after setting the font.
28 Also don't call SetFont from constructor, assign the font and
29 call ChangeFont so we can pass FALSE if the size has been passed
30 as the default (which means: wxWin should choose an appropriate
31 size, so Motif should expand/contract the widget as appropriate).
33 - Colour setting in widgets (almost done).
35 - Implementation of OnEraseBackground. How? Call OnEraseBackground
36 just before OnPaint? Will duplicate Xlib's own erase of the background.
37 However, this is usually OK, because the default wxWindow::OnEraseBackground
38 can do nothing (SetBackgroundColour will make the background look OK).
39 And if a custom OnEraseBackground uses the same colour as the window
40 background, no flicker will be seen. If it does something else, such as
41 painting a tiled bitmap, then a slight flicker might be seen unless
42 X can be persuaded not to repaint the window background by default.
46 - A generic version of wxNotebook that can be used in wxMotif and
47 other toolkits that don't have a native control. Perhaps use wxTab as a
50 - Tidy dialogs such as the colour and font selectors.
52 - Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
54 - Find out why modal dialogs give a grab warning.
56 - wxSystemSettings. Eventually, should have control panel-like utility
57 to change colours/fonts but meanwhile should maybe read them
60 - wxThread (hopefully, similar to wxGTK)
62 - Miscellaneous events.
64 - Write makefiles for all samples and utilities.
66 - Create some samples for testing.
71 - Better makefile system that can put objects in different dirs.
72 Use wxGTK config system? It's really complex to debug and
73 doesn't offer a way of compiling apps outside the wxWin
76 - Extra wxBitmap formats: PNG, BMP. Could use old wxWin 1.68
77 wxImage code (derived from XV) for BMP/GIF but it's very bloated. However,
78 when implemented as extra bitmap handlers, the code won't be linked
81 - Print/preview framework in print.cpp (see wxGTK).
83 - Enhance event handling such that you override e.g. left-click
84 and unless you call the base OnMouseEvent, the click won't be
85 sent to the button. Required for Dialog Editor.
87 - Get Dialog Editor working under Motif.
89 - New wxHelp version: try using the XmHTML widget at
90 http://www.xs4all.nl/~ripley/XmHTML/
92 - Optimize screen refresh for non-native widgets, e.g. wxWindow
93 created with Create(), using technique in flicker patch for 1.68
94 (see JACS for latest patch).
96 - Copy and paste, drag and drop. Use a standard X drag
97 and drop standard - see http://www.cco.caltech.edu/~jafl/xdnd/
98 or use Motif drag and drop as described here:
99 http://www.motifzone.com/tmd/articles/DnD/dnd.html
101 - Optimize colour management so we don't get clashes when e.g.
102 Netscape is running. See:
103 http://www.motifzone.com/tmd/articles/John_Cwikla/index.html
105 - wxRCConfig (a config class using X .rc files). Could simply
106 implement it in terms of current wxGet/WriteResource functions.
110 - wxBitmapCheckBox, wxBitmapRadioButton
112 - Reimplement combobox using Lesstif's widget (avoiding GPL'ed
113 widget currently used).
115 - Write generic wxDirDialog (directory selector)
117 - Use native Motif dialogs for wxMessageBox
119 - Miscellaneous classes e.g. wxJoystick (identical to GTK's one for
124 - Could eventually alter the MDI widgets to be more Windows-like
125 -- currently it's half-hearted.
129 - Get ODBC classes and sample working.