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
62 Makefiles for other compilers. Generic makefiles?
63 Rewrite makefiles to maintain simultaneous debug/release
66 More wxSystemSettings (see comment in settings.cpp).
70 wxListCtrl, wxTreeCtrl, wxImageList integration with Robert
73 Convert OGL, other utilities and samples.
77 Change #include "wx/xxx.h" to #include <wx/xxx.h>
79 Tidy code further, e.g. formatting from DevStudio, plus
82 Shell function to invoke a document with open, print, whatever...
84 wxTextCtrl (and wxMultiText/wxTextWindow in wxWin 1.xx) - differences between Edit
85 and RichEdit controls.
87 Make use of Vadim's gettext implementation throughout wxWin code.
90 Change wxUpdateIterator to use wxRegion; or scrap
91 wxUpdateIterator? See wxGTK.
93 Check WXWIN_COMPATIBILITY mode, remove any unnecessary #ifdefs.
95 Retain callback functions; have semi-compatible callback function prototypes
96 for all controls, at least in WXWIN_COMPATIBLE mode, but
97 retain (Set)Callback for all compilations. This is following a
98 panicky response to losing callbacks.
100 Merge dib.cpp, dibutils.cpp.
102 Simplify the toolbar samples.
104 Add a wxTabCtrl sample.
106 EVT_ENTER/LEAVE_WINDOW: Perhaps one approach to reliable implementation of
107 EVT_LEAVE_WINDOW is to set a flag when the mouse pointer is in a window,
108 then in idle time, check this window.
109 If the flag is set but the mouse pointer is outside the window, then
110 it's time to generate an EVT_LEAVE_WINDOW. This would be necessary at
111 least for the case when the mouse cursor goes off the application windows,
112 and no motion event was generated (i.e. you moved the mouse quickly!).
113 If it goes from one app window to another, you could generate the event sooner.
118 Debug PNG support in wxBitmap (no 4-bit support), and possibly add a convertor from PNG
119 to HICON. We could perhaps also support inclusion of PNGs into
120 a .res file as a custom resource.
122 Fonts: ability to enumerate them.
126 Eliminate Set/GetDefaultBackgroundColour? Just take background
127 colour for child control instead.
129 Think about reimplementing wxBitmapButton, wxStaticBitmap using
130 BS_BITMAP, SS_BITMAP - but this may not allow wxBitmap
131 argument, so instead just allow controls loaded from native
132 resource to deal with this style and call default processing.
134 Completion of drag and drop support (Vadim).
136 Better clipboard support.
138 Toolbars: use event tables not virtual functions.
142 Doc/view - have some standard views/docs e.g. wxTextView.
144 wxClassWizard for generating files, chunks of code.
146 Miscellaneous file/system function wrappers.
148 wxImage or replacement; further wxBitmap/wxIcon etc. functions
149 (load animated icos).
151 Integrate existing multimedia classes.
155 Optimize size further.
157 wxThread integration.
159 Look at WinCE stuff incl. database classes.
161 Improve conversion guide, compatibility classes, tools?
169 Menu bitmaps - document Vadim's enhancements.
171 Enhance Tex2RTF to generate Microsoft HTML help, perhaps Netscape
174 wxCreateDynamicObject is apparently slow: ~ 2000 calls to strcmp. Need to
175 use some kind of hash table scheme.
177 Write wxDisplay class for querying settings and passing
178 to wxFrame to mirror the X situation (multiple displays).
180 Write translator between old and new .wxr formats (including
181 substituting static text for obsolete labels).
183 Improve and expand wxSizer classes.
185 Write more validators.
187 Classes for file/OS utility functions.
189 Add support for more static controls e.g. wxStaticLine.
191 GDI objects could be optimised further in constructors by
192 searching for a matching, pre-existing object, and assigning from
193 that, thus sharing the internal handle. A problem with this
194 arises if you wish to change the data. But this can be handled by
195 un-refing and creating a new handle. So we could reuse many
196 Windows GDI objects without troubling the programmer. We might
197 wish to switch this off in certain circumstances, e.g.
199 wxEnableGDIReuse(FALSE);
201 wxEnableGDIReuse(TRUE);
205 wxGDIReuse reuse(FALSE);
208 which lasts until its scope ends. This might be needed e.g. if we
209 needed to ensure that the operation was maximally efficient
210 (creating a new object rather than searching may or may not be
213 Perhaps rewrite wxFile to use FILE* descriptors, so Eof and Flush