2 Todo on wxWin 2.0, Windows platform
3 -----------------------------------
8 Integrate Robert's wxGrid enhancements.
10 Find/add wxThread sample - Arthur T-D?
12 wxControl dimensions should be optionally based on dialog font
13 size for portability (dialog units as per Windows).
15 Implement wxDC floating point transformations.
17 Remove transformation from device to logical coordinates from
18 events e.g. mouse events.
20 Add wxDC::DeviceToLogical -> wxPoint etc (convenience accessors).
22 Revamp Dialog Editor for new controls and properties (e.g.
25 Registry classes (check out wxConfig class - see issues.txt).
27 Change DnD classes to use global symbols, and wxString.
46 wxStatusBar95 and wxFrame status bar functions
47 wxListBox changes (for ownerdraw functionality)
48 wxThread DONE (except for topic overview)
49 wxHelpController classes DONE (except for Unix ones)
52 Drag and drop (change API if required, e.g. const).
54 wxBaseArray, other arrays
56 Document the include file for each class
63 Makefiles for other compilers. Generic makefiles?
64 Rewrite makefiles to maintain simultaneous debug/release
67 More wxSystemSettings (see comment in settings.cpp).
71 wxListCtrl, wxTreeCtrl, wxImageList integration with Robert
74 Convert OGL, other utilities and samples.
78 Change #include "wx/xxx.h" to #include <wx/xxx.h>
80 Tidy code further, e.g. formatting from DevStudio, plus
83 Shell function to invoke a document with open, print, whatever...
85 wxTextCtrl (and wxMultiText/wxTextWindow in wxWin 1.xx) - differences between Edit
86 and RichEdit controls.
88 Make use of Vadim's gettext implementation throughout wxWin code.
91 Change wxUpdateIterator to use wxRegion; or scrap
92 wxUpdateIterator? See wxGTK.
94 Check WXWIN_COMPATIBILITY mode, remove any unnecessary #ifdefs.
96 Retain callback functions; have semi-compatible callback function prototypes
97 for all controls, at least in WXWIN_COMPATIBLE mode, but
98 retain (Set)Callback for all compilations. This is following a
99 panicky response to losing callbacks.
101 Merge dib.cpp, dibutils.cpp.
103 Simplify the toolbar samples.
105 Add a wxTabCtrl sample.
107 EVT_ENTER/LEAVE_WINDOW: Perhaps one approach to reliable implementation of
108 EVT_LEAVE_WINDOW is to set a flag when the mouse pointer is in a window,
109 then in idle time, check this window.
110 If the flag is set but the mouse pointer is outside the window, then
111 it's time to generate an EVT_LEAVE_WINDOW. This would be necessary at
112 least for the case when the mouse cursor goes off the application windows,
113 and no motion event was generated (i.e. you moved the mouse quickly!).
114 If it goes from one app window to another, you could generate the event sooner.
119 Debug PNG support in wxBitmap (no 4-bit support), and possibly add a convertor from PNG
120 to HICON. We could perhaps also support inclusion of PNGs into
121 a .res file as a custom resource.
123 Fonts: ability to enumerate them.
127 Eliminate Set/GetDefaultBackgroundColour? Just take background
128 colour for child control instead.
130 Think about reimplementing wxBitmapButton, wxStaticBitmap using
131 BS_BITMAP, SS_BITMAP - but this may not allow wxBitmap
132 argument, so instead just allow controls loaded from native
133 resource to deal with this style and call default processing.
135 Completion of drag and drop support (Vadim).
137 Better clipboard support.
139 Toolbars: use event tables not virtual functions.
143 Doc/view - have some standard views/docs e.g. wxTextView.
145 wxClassWizard for generating files, chunks of code.
147 Miscellaneous file/system function wrappers.
149 wxImage or replacement; further wxBitmap/wxIcon etc. functions
150 (load animated icos).
152 Integrate existing multimedia classes.
156 Optimize size further.
158 wxThread integration.
160 Look at WinCE stuff incl. database classes.
162 Improve conversion guide, compatibility classes, tools?
170 Menu bitmaps - document Vadim's enhancements.
172 Enhance Tex2RTF to generate Microsoft HTML help, perhaps Netscape
175 wxCreateDynamicObject is apparently slow: ~ 2000 calls to strcmp. Need to
176 use some kind of hash table scheme.
178 Write wxDisplay class for querying settings and passing
179 to wxFrame to mirror the X situation (multiple displays).
181 Write translator between old and new .wxr formats (including
182 substituting static text for obsolete labels).
184 Improve and expand wxSizer classes.
186 Write more validators.
188 Classes for file/OS utility functions.
190 Add support for more static controls e.g. wxStaticLine.
192 GDI objects could be optimised further in constructors by
193 searching for a matching, pre-existing object, and assigning from
194 that, thus sharing the internal handle. A problem with this
195 arises if you wish to change the data. But this can be handled by
196 un-refing and creating a new handle. So we could reuse many
197 Windows GDI objects without troubling the programmer. We might
198 wish to switch this off in certain circumstances, e.g.
200 wxEnableGDIReuse(FALSE);
202 wxEnableGDIReuse(TRUE);
206 wxGDIReuse reuse(FALSE);
209 which lasts until its scope ends. This might be needed e.g. if we
210 needed to ensure that the operation was maximally efficient
211 (creating a new object rather than searching may or may not be
214 Perhaps rewrite wxFile to use FILE* descriptors, so Eof and Flush