wxMotif TODO
------------
-Updated: 20/10/98
+Updated: 12/11/98
-------------------------------o-------------------------
- Work out why XFreeFont in font.cpp produces a segv. This is
currently commented out, which presumably causes a memory leak.
-- Also work out why wxWindow::SetFont causes the widget to be shrunk
- to fit its text, in dialogs. Uncomment the SetFont implementation and pop
- up a dialog, e.g. an About box. Widgets are arranged
- incorrectly. Seems to be OK for non-dialog panels, once the
- size has been restored after the font setting.
- In fact it seems OK for dialogs now!!! Weird.
+- Colour setting in widgets (almost done). Should scrollbars take
+ on the background colour? Not right for e.g. wxScrolledWindows,
+ so maybe have wxSystemSettings value for scrollbar colour, and/or
+ ability to set scrollbar colour independently.
-- ChangeFont should have an extra arg, to allow for not resizing
- the window back to the original size after setting the font.
- Also don't call SetFont from constructor, assign the font and
- call ChangeFont so we can pass FALSE if the size has been passed
- as the default (which means: wxWin should choose an appropriate
- size, so Motif should expand/contract the widget as appropriate).
-
-- Colour setting in widgets (almost done).
+- Optimize wxWindow OnPaint to avoid flicker, collapsing Expose events
+ as per flicker fix in 1.68. It will be tricky to avoid
+ interfering with non-wxScrolledWindow widgets except by
+ explicitly testing for wxScrolledWindow.
- Implementation of OnEraseBackground. How? Call OnEraseBackground
just before OnPaint? Will duplicate Xlib's own erase of the background.
painting a tiled bitmap, then a slight flicker might be seen unless
X can be persuaded not to repaint the window background by default.
-- wxSpinButton
+- wxNotebook bug: why doesn't the notebook sample appear until the
+ user resizes the window again? But it's OK for MDI. Strange.
-- A generic version of wxNotebook that can be used in wxMotif and
- other toolkits that don't have a native control. Perhaps use wxTab as a
- starting point.
+- wxSpinButton
- Tidy dialogs such as the colour and font selectors.
- Use generic wxTreeCtrl, wxListCtrl: debug and enhance these.
+ We're close to having these working: mostly scrolling to work out.
- Find out why modal dialogs give a grab warning.
- wxThread (hopefully, similar to wxGTK)
+- wxGrid: scrollbars don't hide; problem with cell selection.
+
+- MDI: seems to be broken for a more complex application I'm testing.
+ Frame decorations don't draw properly, and a child window doesn't
+ process events properly. So probably we should have an alternative
+ implementation that uses tabs, a la wxGTK. The system menu could
+ be implemented using a pop-up menu that applies to the currently
+ active window.
+
+- Controls in a wxToolBar don't work. Probably due to form layout
+ problems; the workaround is to use a separate panel for controls.
+
- Miscellaneous events.
- Write makefiles for all samples and utilities.
- Get Dialog Editor working under Motif.
- New wxHelp version: try using the XmHTML widget at
- http://www.xs4all.nl/~ripley/XmHTML/
+ http://www.xs4all.nl/~ripley/XmHTML/.
+
+ We need to:
+ - make a minimal distribution under wx/src/xmhtml, just enough
+ to compile the source.
+ - add XMHTML_C_SRC to src/motif/makefile.unx with the source files
+ listed.
+ - make sure we can compile the sources, passing the correct
+ flags for zlib/png compilation.
+ - make a wxHTMLWindow class from e.g. examples/example_2.c. Should
+ probably make the cache and history facilities part of the class.
+ - add the driver code to src/motif/helphtml.cpp (a frame, toolbar,
+ history list).
- Optimize screen refresh for non-native widgets, e.g. wxWindow
created with Create(), using technique in flicker patch for 1.68
- Blit scaling
- Could eventually alter the MDI widgets to be more Windows-like
- -- currently it's half-hearted.
+ -- currently it's half-hearted (menus are on children, whereas
+ they should replace the main parent frame menu).
-- Accelerators
+- Get ODBC classes and sample working.
+- Work out why wxTextCtrl doesn't work as a stream buffer under
+ gcc
\ No newline at end of file