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