]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
added support for koi8-u
[wxWidgets.git] / docs / changes.txt
1 ----------------------------
2 wxWindows 2.5/2.6 Change Log
3 ----------------------------
4
5 INCOMPATIBLE CHANGES SINCE 2.4.x
6 ================================
7
8 Please take a few minutes to read the following list, especially
9 paying attention to the most important changes which are marked
10 with '!' in the first column.
11
12 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_4
13 is defined to 1 if you wish to retain maximal compatibility with 2.4
14 series.
15
16 ! windows are no longer fully repainted when resized, use new style
17 wxFULL_REPAINT_ON_RESIZE to force this (wxNO_FULL_REPAINT_ON_RESIZE stll
18 exists but doesn't do anything any more, this behaviour is default now)
19
20
21 - no initialization/cleanup can be done in wxApp/~wxApp because they are
22 now called much earlier/later than before; please move any exiting code
23 from there to wxApp::OnInit()/OnExit()
24 - also, OnExit() is not called if OnInit() fails
25 - finally the program exit code is OnRun() return value, not OnExit() one
26 - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead
27 - wxFileType::GetIcon() returns wxIconLocation, not wxIcon
28 - wxColourDatabase is not a wxList any more, use AddColour to add new colours
29 - wxWindow::Clear() is now called ClearBackground()
30 - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now
31 - wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more
32 - (most) controls now inherit parents colours by default, override
33 ShouldInheritColours() to return false if you don't want this to happen
34 - wxApp::SendIdleEvent() now takes 2 arguments
35 - wxTabView::GetLayers() changed return type from wxList& to wxTabLayerList&
36 (when WXWIN_COMPATIBILITY_2_4 == 0)
37 - wxID_SEPARATOR (id used for the menu separators) value changed from -1 to -2
38 - wxGetNumberFromUser() is now in separate wx/numdlg.h, not wx/textdlg.h
39 - wxChoice and wxCombobox now handle their size in the same way as in all the
40 other ports under MSW, new code is actually correct but different from weird
41 stuff they were doing before so the behaviour of your programs might change
42 - wxTaskBarIcon objects must now be destroyed before the application can exit.
43 Previously, the application terminated if there were no top level windows;
44 now it terminates if there are no top level windows or taskbar icons left.
45
46 wxTaskBarIcon must be explicitly destroyed now, otherwise the application
47 won't exit even though there are no top level windows
48
49
50 DEPRECATED METHODS SINCE 2.4.x
51 ==============================
52
53 Deprecated methods may still be used but will disappear in future wxWindows
54 versions, please update your code to not use them.
55
56 - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
57 - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear]
58 - wxSizer::Set/GetOption(): use Set/GetProportion() instead
59 - wxKeyEvent::KeyCode(): use GetKeyCode instead
60 - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead
61 - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead
62 - wxListBase::operator wxList&(): use typesafe lists instead
63 - wxTheFontMapper: use wxFontMapper::Get() instead
64 - wxStringHashTable: use wxHashMap instead
65 - wxHashTableLong: use wxHashMap instead
66 - wxArrayString::GetStringArray: use wxCArrayString or alternative wxWindows
67 methods taking wxArrayString
68 - wxArrayString::Remove(index, count): use RemoveAt instead
69 - wxTreeItemId conversion to long is deprecated and shouldn't be used
70 - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
71 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
72 - wxList keyed interface: use wxHashMap instead
73 - wxColourDatabase::FindColour(): use Find() instead (NB: different ret type)
74 - wxHashTable::Next: use wxHashTable::Node* or
75 wxHashTable::compatibility_iterator to store the return
76 value
77 - wxWave class; use wxSound instead
78
79
80 OTHER CHANGES
81 =============
82
83 2.5.2
84 -----
85
86 All:
87
88 All (GUI):
89
90 - wxHtmlWindow now delays image scaling until rendering,
91 resulting in much better display of scaled images
92 - Added UpdateSize to wxSplitterWindow to allow layout while hidden
93 - implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock)
94 - support for KOI8-U encoding added (Yuriy Tkachenko)
95
96 wxMSW:
97
98 - wxWindow::Freeze()/Thaw() can now be nested
99 - Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
100 XP theming (some applications look bad without 3D borders)
101 - wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more
102 - wxRegConf couldn't read global settings without admin privileges and didn't
103 even try to do it by default -- now it does
104 - wxTaskBarIcon must be explicitly destroyed now, otherwise the application
105 won't exit even though there are no top level windows
106
107 wxMotif:
108
109 - removed wxMenuItem::DeleteSubMenu()
110
111 wxHTML:
112
113 - improved tables and lists layout algorithms (Tim Kosse)
114 - <div> handling fix (Xavier Nodet)
115
116
117 2.5.1
118 -----
119
120 All:
121
122 - event table macros now do some minimal type safety checks (Michael Sögtrop)
123 - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell)
124 - wxDateTime::ParseDateTime() implemented (Linus McCabe)
125 - wxHTTP::GetResponse() added (David Nock)
126 - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
127 - added wxTextInputStream::ReadChar() (M.J.Wetherell)
128 - added translation to Afrikaans (Petri Jooste)
129 - Spanish translations updated (Javier San Jose)
130 - added gettext plural forms support to wxLocale (Michael N. Filippov)
131 - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
132 - wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works
133 - check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner)
134 - when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap
135 (as in 2.5.0).
136 - added some extra convenience functions to wxRect such as
137 GetBottomRight (Hajo Kirchhoff)
138 - changed built-in regex library to a Unicode-compatible version based
139 on TCL sources (Ryan Norton, M. J. Wetherell)
140 - added extra convenience functions to wxPoint for adding a
141 wxSize (Wlodzimierz Skiba)
142 - intermediate wxIPaddress class added to prepare for
143 wxIPV6address (Ray Gilbert)
144 - added overloaded constructors and Create() methods taking wxArrayString
145 for wxChoice, wxComboBox, wxListBox, wxRadioBox, wxCheckListBox,
146 wxSingleChoiceDialog, wxMultipleChoiceDialog
147 - renamed wxWave class to wxSound
148
149 All (GUI):
150
151 - added wxListBook control
152 - added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth)
153 - added some support for C++ exceptions in the library (do read the manual!)
154 - added wxListCtrl::GetViewRect()
155 - added wxTextCtrl::MarkDirty()
156 - wxToolBar::ToggleTool() now works for radio buttons (Dag Ågren)
157 - wxListCtrl now sends an END_LABEL event if editing was cancelled, too
158 - bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett)
159 - status text is now restored after wxMenu help is shown in it
160 - bug in wxWindow::RemoveEventHandler() fixed (Yingjun Zhang)
161 - make it possible to use wxRTTI macros with namespaces (Benjamin I. Williams)
162 - wxColourDatabase API now uses objects instead of pointers
163 - added resolution option to JPEG image handler (Jeff Burton)
164 - added wxCalendarEvent::SetDate, wxCalendarEvent::SetWeekDay
165 - wxGenericDirCtrl now accepts multiple wildcards
166 - added focus event forwarding to wxGrid (Peter Laufenberg)
167 - fixed scrollbar problem in wxGrid (not showing scrollbars
168 when sizing smaller) (Shane Harper)
169 - dbbrowse demo fixed for Unicode (Wlodzimierz Skiba)
170 - added wxStatusBar support to XRC (Brian Ravnsgaard Riis)
171 - wxMenu::Append and etc. return a pointer to the wxMenuItem that was
172 added or inserted, or NULL on failure.
173 - using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate new id
174 - added option to generate C++ headers to wxrc utility (Eduardo Marques)
175 - added wxDC::DrawPolyPolygon() for MSW/PS (Carl-Friedrich Braun)
176 - wxBufferedDC now allows to preserve the background and is documented
177 - added wxDC::GetPartialTextExtents
178
179 wxMSW:
180
181 - wxWindows now builds under Win64
182 - fixed DDE memory leaks
183 - fixed wxTE_*WRAP styles handling
184 - wxTextCtrl::GetValue() works with text in non default encoding
185 - changed wxCrashReport to generate minidumps instead of text files
186 - wxRadioButtons are now checked when they get focus (standard behaviour)
187 - several fixes to owner drawn menu items (Christian Sturmlechner)
188 - wxGauge now supports full 32 bit range (Miroslav Rajcic)
189 - make it possible to give focus to the notebook tabs (Hajo Kirchhoff)
190 - MDI child frames are not always resizeable any more (Andrei Fortuna)
191 - fixed enumerating of entries/groups under '/' in wxRegConfig
192 - added wxSYS_ICONTITLE_FONT (Andreas Pflug)
193 - added wxPATH_NORM_SHORTCUT to wxFileName
194 - wxComboBox::GetValue within a wxEVT_COMMAND_TEXT_UPDATED event
195 should now pass the correct value even if the handler for
196 wxEVT_COMMAND_COMBOBOX_SELECTED changed the selection
197 - wxFileDialog now returns correct filter index for multiple-file dialogs
198 - added wxTextCtrl::HitTest()
199 - experimental wxURL implementation using WinInet functions (Hajo Kirchhoff)
200 - fixed several bugs in wxNotebook with wxNB_MULTILINE style
201 - accelerators are now initially hidden if appropriate (Peter Nielsen)
202 - background colour of a wxComboBox may now be set
203 - fixed wxListCtrl::GetItemText/BackgroundColour()
204 - Esc can now be used to close menus in the dialogs (Hartmut Honisch)
205 - Added msw.remap system option so colourful toolbar buttons
206 aren't mangled if you set it to 0. The default is 1
207 - Toolbar buttons are now centred if the bitmap size is smaller
208 than the specified default size
209 - Fixed a bug in wxSpinCtrl::DoGetBestSize that would make wxSpinCtrl too tall
210
211 wxGTK:
212
213 - fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas)
214 - fix for crash when using user-dashed lines (Chris Borgolte)
215 - fixed wxChoice::Delete() in presence of client data
216 - allow calling wxWindow::SetFont if window not yet created
217 - use same average character width as other ports when calculating dialog units
218 - fixed mouse wheel handling under GTK2 (Hugh Fisher)
219 - wxNotebook::HitTest() implemented (Daniel Lundqvist)
220 - memory leaks fixes in wxFileDialog (John Labenski)
221 - don't drop click events from triple clicks (Frode Solheim)
222
223 wxMac:
224
225 - use same average character width as other ports when calculating dialog units
226 - implemented handling of mouse wheel
227 - fix for long file names (longer than 32 characters) in file dialogs
228 - use unix sockets for Mach-o builds
229
230 wxMotif:
231
232 - look for Motif 2.1 headers before Motif 1.2 ones in configure
233
234 wxHTML:
235
236 - wxHtmlHelpController now supports compressed MS HTML Help files (*.chm)
237 on Unix (Markus Sinner)
238
239 Unix:
240
241 - added XFree86 resolution changing using xf86vidmode extensions (Ryan Norton)
242 - implemented asynchronous playback in wxSound and added SDL backend in
243 addition to existing OSS one
244 - it is now possible to send PostScript to any output stream (Zoltan Kovacs)
245
246
247 2.5.0
248 -----
249
250 All:
251
252 - It is now possible to build several smaller libraries instead of single
253 huge wxWindows library; wxBase is now dependency of GUI ports rather then
254 separately compiled library
255 - added wxDateSpan::operator==() and !=() (Lukasz Michalski)
256 - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
257 - use true/false throughout the library instead of TRUE/FALSE
258 - wxStopWatch::Start() resumes the stop watch if paused, as per the docs
259 - added wxDirTraverser::OnOpenError() to customize the error handling
260 - added wxArray::SetCount()
261 - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
262 by default in Unicode mode
263 - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
264 - added wx/math.h (John Labenski)
265 - added Catalan translations (Pau Bosch i Crespo)
266 - added Ukrainian translations (Eugene Manko)
267 - fixed bug with deleting entries at root level in wxFileConfig
268 - chkconf.h now includes platform-specific versions (for MSW
269 and Mac) which contain some tests that were in setup.h
270 - added event sink argument to wxEvtHandler::Connect()
271 - added support for POST method and alt ports to wxHTTP (Roger Chickering)
272 - added wxSocket::IPAddress() (Chris Mellon)
273 - wxDataStreams can read/write many elements at once (Mickael Gilabert)
274 - added wxRecursionGuard class
275 - added wxThreadHelper class (Daniel Howard)
276 - Added STL support (--enable-stl for configure, wxUSE_STL in setup.h).
277 When enabled, wxString will derive from std::string, wxArray from,
278 std::vector, wxList from std::list. In addition wxHashTable will be
279 implemented in terms of wxHashMap.
280 - Added wxList::compatibility_iterator. Can be used like wxNode* (except
281 it can't be delete()d). It permits writing code which will work
282 both with wxUSE_STL==1 and wxUSE_STL==0.
283
284 wxBase:
285
286 - added Watcom makefiles
287 - fixed bug with searching in sorted arrays (Jürgen Palm)
288
289 All GUI ports:
290
291 - added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes
292 - added wxListbook
293 - added alpha channel support to wxImage
294 - added wxRenderer class allowing to customize the drawing of generic controls
295 - added wxCLOSE_BOX style for dialogs and frames
296 - added wxSplitterWindow and wxWizard handlers to XRC
297 - wxWizard is now sizer-friendly and may be made resizeable (Robert Vazan)
298 - added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski)
299 - added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski)
300 - implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber)
301 - improved contrib/utils/convertrc parsing (David J. Cooke)
302 - fixed handling of URLs and filenames in wxFileSystem
303 - implemented alignment for wxGrid bool editor and renderer
304 - support wxListCtrl columns alignment for all platforms and not just MSW
305 - added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski)
306 - added wxTB_HORZ_TEXT style for MSW and GTK (Axel Schlueter)
307 - fixed user dash handling for MSW and GTK (Ken Edwards)
308 - WXR resources can now be used in Unicode builds
309 - it is now possible to use several wxFileHistory objects in the same menu
310 by giving them different base IDs (Dimitri Schoolwerth)
311 - Added wxTLW::SetShape with implementations for wxMSW and wxGTK (so far)
312 - FL: rmoved const from EnableTool parameters
313 - FL: signal child window when toolbar is closed
314 - In various places, changed tests for pathsep on last char of string to call
315 wxEndsWithPathSeparator(s)
316 - Added to defs.h a couple of macros (wxPtrToULong & wxULongToPtr)
317 - Minor improvements to document/view framework, including
318 delayed deletion of a document (until after the user has chosen
319 a new document), and more intelligent addition of filenames to
320 the file history, including not adding filenames if not using the
321 default extension for the template
322 - sped up wxImage::Scale using fixed point arithmetic (Wade Brainerd)
323 - Added BLOB support to wxDB (John Skiff)
324 - wxWizard now validates when pressing Back or Next
325 - Implemented wxNotebook::DoGetBestSize so Fit now works
326 - Added FindItemByPosition to wxMenu
327 - wxTimer now derives from wxEvtHandler and is its own owner object by default
328 - Extended wxTextAttr and added wxTextCtrl::GetStyle stub
329 to allow better rich text support.
330 - implemented wxFlexGridSizer::Show() (Wade Brainerd)
331 - Added m_ prefix to wxColourData and wxFontData members
332 - Added wxHtmlPrintout::AddFilter so HTML printing can be subject to
333 custom filters as well as HTML viewing.
334 - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
335 - wxWindow::OnInternalIdle is now used in all ports, and ensures that
336 user OnIdle events do not interfere with crucial internal processing.
337 - wxWindow::UpdateWindowUI is now a documented function that
338 sends wxUpdateUIEvents, and can be overridden. It has a helper function
339 DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
340 - Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
341 CanUpdate, to assist with optimising update event frequency.
342 - Added functions to wxIdleEvent: Set/GetMode, CanSend, to
343 determine whether a window should receive idle events.
344 - Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
345 styles for use with conservative idle and update event modes.
346 - send menu update events only when a menu is about to be used (MSW/GTK)
347 - improved event processing performance (Hans Van Leemputten)
348 - added wxMirrorDC class
349 - printing improvements: GetPageInfo() gets called after the DC has
350 been set and after OnPreparePrinting() has been called so it can
351 report the number of pages accurately; doesn't try to set
352 number of pages in print dialog, in common with other Windows apps;
353 wxHTML easy printing's preview shows number of pages
354 correctly; preview scrollbars are set correctly; keyboard navigation
355 improved
356
357 Unix:
358
359 - fixed compilation on systems with zlib installed but < 1.1.3 version
360 - fixed compilation on Solaris 7 with large files support enabled
361 - added wxTaskBarIcon implementation for X11
362 - added support for GNU/Hurd in configure
363 - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug)
364
365 Generic controls:
366
367 - implemented wxListCtrl::Refresh() (Norbert Berzen)
368 - support adding/removing columns dynamically (Donald C. Taylor)
369 - wxToolBarSimple, property list classes, wxTreeLayout moved
370 to contrib/src/deprecated
371
372 wxGTK:
373
374 - added support for label mnemonics to GTK+2 build (Michael Moss)
375 - added native wxMessageDialog implementation for GTK+2 build
376 - fixed wxMenu::Remove (John Skiff and Benjamin Williams)
377 - made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace
378 - fixed wxTopLevelWindow::ShowFullScreen to work with kwin, IceWM and
379 window managers that support _NET_WM_STATE_FULLSCREEN
380 - added wxEVT_MENU_OPEN event generation
381 - fixed bug in generic file selector causing incomplete file extensions to
382 be appended to filenames with no extension
383 - added wxTextCtrl::SetSelection implementation for GTK+ 2
384 - fixed wxTextCtrl::IsEditable() for GTK+ 2
385 - fixed wxStaticText alignment for GTK+ 2 (Kevin Hock)
386 - don't consume 100% CPU when showing a poup menu
387
388 wxMac:
389
390 - generate wxEVT_SCROLL_THUMBRELEASE and wxEVT_SCROLLWIN_THUMBRELEASE events
391 - generate wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE events
392
393 wxMSW:
394
395 - possibility to use DIBs for wxBitmap implementation (Derry Bryson)
396 - added wxCrashReport
397 - wxStaticBitmap doesn't stretch its bitmap any longer (like other ports)
398 - support for accelerator keys in the owner drawn menus (Derry Bryson)
399 - wxCaret::SetSize() doesn't hide the caret any longer as it used to
400 - wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more
401 - fixed bugs in wxThread::Wait() and IsAlive()
402 - fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE
403 - fixes for compilation with OpenWatcom and DigitalMars compilers
404 - fixed wxStaticText best size calculation (was wrong by '&' width)
405 - fixed calling wxFrame::Maximize(FALSE) before the window is shown
406 - added wxNotebook::HitTest() (Otto Wyss)
407 - libraries built with makefile.g95 have a _min or _cyg suffix (MinGW/Cygwin)
408 - when using DLL, wxLocalFSHandler was not being exported
409 - fixed problem with wxEvtHandler object not removed from wxPendingEvents
410 - Windows XP manifest is now included in wx.rc; it is no longer neccessary
411 to ship .exe.manifest file with applications to support XP themes
412 - wxLocale::Init no longer reports error if trying to set Unicode-only locale
413 or if user's default locale is Unicode-only
414 - improved border handling under Windows XP
415 - partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME
416 enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells
417 wxWindows to use the theme tab colour for control backgrounds.
418 - disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP
419 - fixed release mode build with VC 7.x (Martin Ecker)
420 - added support for wxALWAYS_SHOW_SB style
421 - you don't need to add opengl32.lib when using VC++ now (David Falkinder)
422
423 wxMotif:
424
425 - made wxFileDialog behaviour with complex wildcards more sensible (it still
426 does not support all the features other ports do); refer to wxFileDialog
427 documentation for a detailed explanation
428 - implemented wxWakeUpIdle
429 - for Motif 2.0, used the native combobox widget instead of the GPL'd
430 xmcombo; xmcombo is still used for Motif 1.x and Lesstif when compiled
431 with Motif 1.x compatibility
432 - implemented wxToggleButton
433 - wxRadioBox and wxStaticBox now use the default shadow (border) style
434 instead of a sunken border
435 - implemented wxBitmapDataObject
436 - finished wxClipboard implementation
437
438 wxUniv:
439
440 - controls in toolbars now supported
441
442 wxHTML:
443
444 - added text selection to wxHtmlWindow
445 - added SetFonts to HTML printing classes (Adrian Philip Look)
446 - it is now possible to force page break when printing by inserting
447 <div style="page-break-before:always"> into the markup (Greg Chicares)
448 - wxHtmlWindow now uses double buffering to prevent flicker
449
450
451 OLD CHANGES
452 ===========
453
454 INCOMPATIBLE CHANGES SINCE 2.2.x
455 ================================
456
457 Please take a few minutes to read the following list, especially
458 paying attention to the most important changes which are marked
459 with '!' in the first column.
460
461 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_2
462 is defined to 1 if you wish to retain maximal compatibility with 2.2
463 series -- however you are also strongly encouraged to try to compile
464 your code without this define as it won't be default any longer in
465 2.6 release.
466
467 NB: if you want to build your program with different major versions
468 of wxWindows you will probably find the wxCHECK_VERSION() macro
469 (see the documentation) useful.
470
471
472 wxBase:
473
474 ! wxArray<T>::Remove(size_t) has been removed to fix compilation problems
475 under 64 bit architectures, please replace it with RemoveAt() in your
476 code.
477
478 ! wxArray<T> macros have been changed to fix runtime problems under 64 bit
479 architectures and as a side effect of this WX_DEFINE_ARRAY() can only be
480 used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the
481 arrays containing non-pointers.
482
483 - wxObject::CopyObject() and Clone() methods were removed because they
484 simply don't make sense for all objects
485
486 - wxEvent now has a pure virtual Clone() method which must be implemented
487 by all derived classes, if you have user-defined event classes please
488 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
489
490 - small change to wxStopWatch::Pause() semantics, please see the documentation
491
492 - unlikely but possible incompatibility: the definition of TRUE has changed
493 from "1" to "(bool)1" (and the same thing for FALSE), so the code which
494 could be erroneously compiled previously such as doing "return FALSE" from
495 a function returning a pointer would stop compiling now (but this change
496 is not supposed to have any effects on valid code)
497
498 - another minor change: wxApp::OnAssert() has a new "cond" argument, you
499 must modify YourApp::OnAssert() signature if you were using it to override
500 the default assert handling.
501
502 All (GUI):
503
504 ! the event type constants are not constants any more but are dynamically
505 allocated during run-time which means that they can't be used as case labels
506 in the switch()es, you must rewrite them to use if()s instead
507
508 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
509 but this is strongly discouraged, please consider changing your code
510 instead!
511
512 ! wxDialog does not derive from wxPanel any longer - if you were using it in
513 your code, please update it. The quick fix for the most cases is to replace
514 the occurrences of wxPanel with wxWindow.
515
516 ! if you handle (and don't skip) EVT_KEY_DOWN, the EVT_CHAR event is not
517 generated at all, so you must call event.Skip() in your OnKeyDown() if
518 you want to get OnChar() as well
519
520 - in general, the key events sent for the various non ASCII key combinations
521 have been changed to make them consistent over all supported platforms,
522 please see the wxKeyEvent documentation for details
523
524 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
525 have changed (to fix some unfortunate clashes), please check your code to
526 ensure that no tests for wxYES or wxNO are broken: for example, the following
527 will *NOT* work any longer:
528
529 if ( flags & wxYES_NO )
530 ... do something ...
531 if ( flags & wxYES )
532 ... do something else ...
533
534 - static wxWizard::Create() doesn't exist any more, the wizards are created
535 in the same way as all the other wxWindow objects, i.e. by directly using
536 the ctor
537
538 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
539
540 - wxGridCellAttrProvider class API changed, you will need to update your code
541 if you derived any classes from it
542
543 - wxImage::ComputeHistogram()'s signature changed to
544 unsigned long ComputeHistogram(wxImageHistogram&) const
545
546 - wxEvtHandler cannot be copied/assigned any longer - this never worked but
547 now it results in compile-time error instead of run-time crashes
548
549 - WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events,
550 they only generate EVT_KEY_DOWN/UP() ones
551
552 - the dialogs use wxApp::GetTopWindow() as the parent implicitly if the
553 parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this
554 from happening
555
556 - several obsolete synonyms are only retained in WXWIN_COMPATIBILITY_2_2 mode:
557 for example, use wxScrolledWindow::GetViewStart() now instead of ViewStart()
558 and GetCount() instead of Number() in many classes
559
560 - wxCmdLineParser does not use wxLog to output messages anymore.
561 to obtain the previous behaviour, add
562 wxMessageOutput::Set(new wxMessageOutputLog); to your program
563 (you will need to #include <wx/msgout.h>)
564
565 wxMSW:
566
567 ! build system changed: setup.h is not a static file in include/wx any more
568 but is created as part of the build process under lib/<toolkit>/wx
569 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
570 the include path in your make/project files appropriately. Furthermore,
571 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
572 class. You'll need to remove all references to xpm.lib from your
573 make/project files. Finally, the library names have changed as well and now
574 use the following consistent naming convention: wxmsw[ver][u][d].(lib|dll)
575 where 'u' appears for Unicode version, 'd' -- for the debug one and version
576 is only present for the DLLs builds.
577
578 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
579 style to avoid it
580
581 - all overloads of wxDC::SetClippingRegion() combine the given region with the
582 previously selected one instead of replacing it
583
584 - wxGetHomeDir() uses HOME environment variable and if it is set will not
585 return the programs directory any longer but its value (this function has
586 never been meant to return the programs directory anyhow)
587
588 - wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file
589 anymore. The file was removed from wxMSW
590
591
592 Unix ports:
593
594 ! You should use `wx-config --cxxflags` in your makefiles instead of
595 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
596 and the compiler flags for C++ files only, CFLAGS should still be used
597 to compile pure C files.
598
599
600 wxThread and related classes:
601
602 - The thread-related classes have been heavily changed since 2.2.x versions
603 as the old code had many serious problems. This could have resulted in
604 semantical changes other than those mentioned here, please review use of
605 wxThread, wxMutex and wxCondition classes in your code.
606
607 ! wxCondition now *must* be used with a mutex, please read the (updated) class
608 documentation for details and revise your code accordingly: this change was
609 unfortunately needed as it was impossible to ensure the correct behaviour
610 (i.e. absense of race conditions) using the old API.
611
612 - wxMutex is not recursive any more in POSIX implementation (it hasn't been
613 recursive in 2.2.x but was in 2.3.1 and 2.3.2), please refer to the class
614 documentation for the discussion of the recursive mutexes.
615
616 - wxMutex::IsLocked() doesn't exist any more and should have never existed:
617 this is was unique example of a thread-unsafe-by-design method.
618
619
620 OTHER CHANGES
621 =============
622
623 2.4.0
624 -----
625
626 wxMSW:
627
628 - fixed loss of client data in wxChoice::SetString()
629
630 2.3.4
631 -----
632
633 All:
634
635 - added (partial) Indonesian translations (Bambang Purnomosidi D. P.)
636 - added wxSizer::Show()/Hide() (Carl Godkin)
637 - fixed bugs in wxDateTime::SetToWeekDay()/GetWeek()
638
639 Unix (Base/GUI):
640
641 - minor OpenBSD compilation/linking fixes, now builds OOB under OpenBSD 3.1
642 - don't include -I/usr/include nor -I/usr/local/include in wx-config output
643 - shared library symbols are now versioned on platforms that support it (Linux)
644
645 wxGTK:
646 - Further work for GTK 2.0 and Unicode support.
647 - Addition of native frame site grip.
648
649 wxX11:
650 - Unicode support through Pango library.
651
652 wxMSW:
653
654 - fixed crashes in wxListCtrl under XP
655 - added context menu for rich edit wxTextCtrl
656
657 wxHTML:
658
659 - fixed wxHTML to work in Unicode build
660
661 2.3.3
662 -----
663
664 wxBase:
665
666 - building wxBase with Borland C++ is now supported (Michael Fieldings)
667 - wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram)
668 - fixes to the command line parsing error and usage messages
669 - modified wxFileName::CreateTempFileName() to open the file atomically
670 (if possible) and, especially, not to leak the file descriptors under Unix
671 - memory leak in wxHTTP fixed (Dimitri Schoolwerth)
672 - fixes to AM_PATH_WXCONFIG autoconf macro
673 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
674 after (non standard) STL hash_map
675 - wxLocale now works in Unicode mode
676 - wxLocale can now load message catalogs in arbitrary encoding
677 - added wxShutdown() function (Marco Cavallini)
678 - added wxEXPLICIT macro
679 - IPC classes improved and memory leaks fixed (Michael Fielding).
680 Global buffer removed, duplication in docs removed
681 - debug new/free implementations made thread-safe
682
683 Unix (Base/GUI):
684
685 - wxWindows may be built using BSD and Solaris (and possibly other) make
686 programs and not only GNU make
687 - wxTCP-based IPC classes now support communicating over Unix domain sockets
688 - wxWindows may be built as a dynamic shared library under Darwin / Mac OS X
689 lazy linking issues have been solved by linking a single module (.o) into
690 the shared library (two step link using distrib/mac/shared-ld-sh)
691 - fixed thread priority setting under Linux
692
693 All (GUI):
694
695 - it is now possible to set the icons of different sizes for frames (e.g. a
696 small and big ones) using the new wxIconBundle class
697 - implemented radio menu items and radio toolbar buttons
698 - added possibility to show text in the toolbar buttons
699 - added wxArtProvider class that can be used to customize the look of standard
700 wxWindows dialogs
701 - significantly improved native font support
702 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
703 wxHashTable
704 - added IFF image handler
705 - fixed using custom renderers in wxGrid which was broken in 2.3.2
706 - support for multiple images in one file added to wxImage
707 (TIFF, GIF and ICO formats)
708 - support for CUR and ANI files in wxImage added (Chris Elliott)
709 - wxTextCtrl::GetRange() added
710 - added wxGetFontFromUser() convenience function
711 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
712 - added Hungarian translations (Janos Vegh)
713 - added wxImage::SaveFile(filename) method (Chris Elliott)
714 - added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method
715 for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott)
716 - added (platform-dependent) scan code to wxKeyEvent (Bryce Denney)
717 - added wxTextCtrl::EmulateKeyPress()
718 - Added wxMouseCaptureChangedEvent
719 - Added custom character filtering to wxTextValidator
720 - wxTreeCtrl now supports incremental keyboard search
721 - wxMessageOutput class added
722 - wxHelpProvider::RemoveHelp added and called from ~wxWindowBase
723 so that erroneous help strings are no longer found as the hash
724 table fills up
725 - updated libpng from 1.0.3 to 1.2.4
726 - Added wxView::OnClosingDocument so the application can do cleanup.
727 - generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
728 renamed to wxGenericImageList, so they can be used on wxMSW
729 (Rene Rivera).
730 - Added wxTreeEvent::IsEditCancelled so the application can tell
731 whether a label edit was cancelled.
732 - added static wxFontMapper::Get() accessor
733
734 wxMSW:
735
736 - small appearance fixes for native look under Windows XP
737 - fixed the bug related to the redrawing on resize introduced in 2.3.2
738 - fixed multiple bugs in wxExecute() with IO redirection
739 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
740 - huge (40*) speed up in wxMask::Create()
741 - changing wxWindows styles also changes the underlying Windows window style
742 - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
743 - fixed flicker in wxTreeCtrl::SetItemXXX()
744 - fixed redraw problems in dynamically resized wxStaticText
745 - improvements to wxWindows applications behaviour when the system colours
746 are changed
747 - choose implicit parent for the dialog boxes better
748 - fixed wxProgressDialog for ranges > 65535
749 - wxSpinButton and wxSpinCtrl now support full 32 bit range (if the version
750 of comctl32.dll installed on the system supports it)
751 - wxFontEnumerator now returns all fonts, not only TrueType ones
752 - bugs in handling wxFrame styles (border/caption related) fixed
753 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
754 recursion any more
755 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
756 - the separators are not seen behind the controls added to the toolbar any more
757 - wxLB_SORT style can be used with wxCheckListBox
758 - wxWindowDC and wxClientDC::GetSize() works correctly now
759 - Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL
760 - Multiline labels in buttons are now supoprted (simply use "\n" in the label)
761 - Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
762 has the capture before release it.
763 - fixed bugs in multiple selection wxCheckListBox
764 - default button handling is now closer to expected
765 - setting tooltips for wxSlider now works
766 - disabling a parent window also disables all of its children (as in wxGTK)
767 - multiple events avoided in wxComboBox
768 - tooltip asserts avoided for read-only wxComboBox
769 - fixed a race condition during a thread exit and a join
770 - fixed a condition where a thread can hang during message/event processing
771 - increased space between wxRadioBox label and first radio button
772 - don't fail to register remaining window classes if one fails to register
773 - wxFontDialog effects only turned on if a valid colour was
774 provided in wxFontData
775 - Added wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT flags for text control alignment.
776 - Bitmap printing uses 24 bits now, not 8.
777
778 wxGTK:
779
780 - wxDirDialog now presents the file system in standard Unix way
781 - wxButton now honours wxBU_EXACTFIT
782 - wxStaticBox now honours wxALIGN_XXX styles
783 - added support for non alphanumeric simple character accelerators ('-', '=')
784 - new behaviour for wxWindow::Refresh() as it now produces a delayed refresh.
785 Call the new wxWindow::Update() to force an immediate update
786 - support for more SGI hardware (12-bit mode among others)
787 - fixed wxDC::Blit() to honour source DC's logical coordinates
788 - implemented wxIdleEvent::RequestMore() for simple background tasks
789 - implemented wxChoice::Delete()
790 - fixed bad memory leak in wxFileDialog (Chris Elliott)
791 - made internal GC pool dynamically growable
792 - added GTK+ 2 and Unicode support
793
794 wxMotif:
795
796 - improved colour settings return values (Ian Brown)
797 - improved border style handling for wxStaticText (Ian Brown)
798 - improved toolbar control alignment
799 - implemented wxSpinButton
800 - implemented wxCheckListBox
801 - fixed wxSpinCtrl and wxStaticLine when used with sizers
802 - wxStaticBitmap now shows transparent icons correctly
803
804 wxX11:
805
806 - added generic MDI implementation (Hans Van Leemputten)
807 - first cut at wxSocket support (not yet working)
808
809 wxMac:
810
811 - Many improvements
812
813 wxOS2:
814
815 - First alpha-quality release
816
817 wxHTML:
818
819 - fixed wxHtmlHelpController's cache files handling on big endian machines
820 - added blocking and redirecting capabilities to wxHtmlWindow via
821 wxHtmlWindow::OnOpeningURL()
822 - fixed alignment handling in tables
823 - fixed <font face="..."> handling to be case insensitive
824
825 2.3.2
826 -----
827
828 New port: wxUniv for Win32/GTK+ is now included in the distribution.
829
830 wxBase:
831
832 - wxRegEx class added
833 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
834 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
835 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
836 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
837 capabilities at runtime instead of in the configure script.
838
839 All (GUI):
840
841 - support for virtual list control added
842 - column images in report mode of the list control
843 - wxFindReplaceDialog added (based on work of Markus Greither)
844 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
845 - polygon support in wxRegion (Klaas Holwerda)
846 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
847 - fixed bug with using wxExecute() to capture huge amounts of output
848 - new wxCalendarCtrl styles added (Søren Erland Vestø)
849 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
850 - wxDirSelector() added (Paul A. Thiessen)
851 - wxGrid cell editing veto support (Roger Gammans)
852 - wxListCtrl ITEM_FOCUSED event added
853 - support for ICO files in wxImage added (Chris Elliott)
854 - improvements to wxDragImage (Chuck Messenger)
855
856 wxMSW:
857
858 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
859 - new library naming convention under VC++ -- please change your application
860 project files
861
862 wxGTK:
863
864 - fixed popup menu positioning bug
865 - fixed the edit function for wxListCtrl (Chuck Messenger)
866 - fixed the key-hitting events for wxListCtrl and wxTreeCtrl, so they
867 correctly return the key which was pressed (Chuck Messenger)
868
869 wxMac:
870
871 - support for configuration and build under Mac OS X using the Apple Developer
872 Tools
873
874 wxHTML:
875
876 - new HTML parser with correct parsing of character entities and fixes
877 to tags parsing
878 - added support for animated GIFs
879
880 2.3.1
881 -----
882
883 wxBase:
884
885 - Fixes for gcc 3.0
886 - Fixed new charset detection code
887 - ODBC Informix fixes (submitted by Roger Gammans)
888 - Added ODBC date support to wxVariant
889 - Added wxDir::Traverse
890 - Added wxSingleInstanceChecker class
891 - Removed redundant wxDebugContext functions using C++ streams,
892 so now standard stream usage should be unnecessary
893
894 All (GUI):
895
896 - Added wxDbGrid class for displaying ODBC tables
897 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
898 user code can get access to the edit control when it is created, (to
899 push on a custom event handler for example)
900 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
901 GetDefaultStyle methods to wxTextCtrl
902 - Added wxSingleInstanceChecker
903 - Improvements to Tex2RTF
904 - Added Paul and Roger Gammans' grid controls
905 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
906 first-time saved
907 - Fixed memory leak in textcmn.cpp
908 - Various wxXML enhancements
909 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
910 - Fixed memory leak in DoPrint, htmprint.cpp
911 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
912 instead of GetId()
913 - Added wxDbGrid combining wxODBC classes with wxGrid
914 - Added more makefiles and project files for contrib hierarchy
915
916 wxMSW:
917
918 - Fixed wxApp::ProcessMessage so controls don't lose their
919 accelerators when the accelerators are redefined elsewhere
920 - Accelerators consisting of simple keystrokes (without control,
921 alt or shift) now work
922 - Compile fixes for Watcom C++ added
923 - Compile fixes for Cygwin 1.0 added
924 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
925 - Replaced wxYield() call in PopupMenu() by a much safer
926 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
927 - Enter processing in wxSpinCtrl fixed
928 - Fixed bug in determining the best listbox size
929 - Fix for wxFrame's last focus bug
930 - We now send iconize events
931 - Fixed wxFrame::SetClientSize() with toolbar bug
932 - Added mousewheel processing
933 - Added wxSystemSettings::Get/SetOption so we can configure
934 wxWindows at run time; used this to implement no-maskblt option
935 in wxDC
936 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
937 child frame styles are honoured
938
939 wxGTK:
940
941 - Fixed slider rounding bug
942 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
943 - We now send iconize events
944 - Fix for discrepancies between wxNotebookEvent and wxNotebook
945 GetSelection() results
946
947 2.3.0
948 -----
949
950 wxBase:
951
952 - fixed problem with wxURL when using static version of the library
953 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
954 - wxMimeTypesManager now can create file associations too (Chris Elliott)
955 - wxCopyFile() respects the file permissions (Roland Scholz)
956 - wxFTP::GetFileSize() added (Søren Erland Vestø)
957 - wxDateTime::IsSameDate() bug fixed
958 - wxTimeSpan::Format() now behaves more as expected, see docs
959 - wxLocale now provides much more convenient API for setting language and
960 detecting current system language. New API is more abstracted and truly
961 cross-platform, independent of underlying C runtime library.
962
963 All (GUI):
964
965 - new wxToggleButton class (John Norris, Axel Schlueter)
966 - wxCalendarCtrl not highlighting the date with time part bug fixed
967 - wxADJUST_MINSIZE sizer flag added
968 - FindOrCreateBrush/Pen() bug fix for invalid colour values
969 - new wxXPMHandler for reading and writing XPM images
970 - added new (now recommended) API for conversion between wxImage and wxBitmap
971 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
972 wxImage methods and ctor)
973 - ODBC classes now support DB2, Interbase, and Pervasive SQL
974 - ODBC documentation complete!!
975 - ODBC classes have much Unicode support added, but not complete
976 - ODBC experimental BLOB support added, but not completely tested
977 - ODBC NULL column support completed (Roger/Paul Gammans)
978 - ODBC All "char *" and char arrays removed and replaced with wxString use
979
980 wxMSW:
981
982 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
983 - fixed bug in MDI children flags (mis)handling
984 - it is possible to compile wxCHMHelpController with compilers
985 other than Visual C++ now and hhctrl.ocx is loaded at runtime
986
987 wxGTK:
988
989 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
990
991 wxHTML:
992
993 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
994 - visual enhancements to contents panel of wxHtmlHelpController
995
996 2.2.0
997 -----
998
999 wxBase:
1000
1001 - Fixed bug with directories with trailing (back)slashes in wxPathExists
1002 - wxString: added wxArrayString::operator==() and !=()
1003 - Fixes for wxCmdLineParser
1004 - Added wxGetLocalTimeMillis
1005 - Completed Czech translations
1006 - Some stream corrections
1007 - added missing consts to wxPoint operators
1008 - wxDateTime ParseFormat fixes
1009 - wxFile::Open(write_append) will create file if it doesn't exist
1010 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
1011
1012 All (GUI):
1013
1014 - wxGenericDragImage now allows virtual image drawing, and
1015 flicker-free dragging is now possible
1016 - Added wxPrinter::GetLastError
1017 - Fixed wxLogGui reentrancy problem
1018 - Paper names now translated
1019 - wxGrid fixes
1020 - Generic validator now caters for more cases (integers in
1021 wxTextCtrl, strings in wxChoice, wxComboBox)
1022 - Fixed crash when docview On... functions return FALSE. Show
1023 error message when an non-existent filename is typed into the Open
1024 File dialog.
1025 - Corrected Baltic font encoding handling
1026 - wxImage: enhanced TIFF code, added new platform-independent BMP
1027 writing code
1028 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
1029 - Fixed wxPropertyForm crashes in sample
1030 - wxWizard now calls TransferDataFromWindow() before calling
1031 wxWizardPage::GetNext() fixing an obvious bug
1032
1033 wxMSW:
1034
1035 - wxWindow::GetCharWidth/Height now calculated accurately.
1036 This will affect all .wxr dialog resources, so for
1037 backward compatibility, please set
1038 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
1039 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
1040 - wxTextCtrl: implemented setting colours for rich edit controls
1041 - wxColour now accepts both grey and gray
1042 - BC++ DLL compilation fixed
1043 - Watcom C++ makefiles improved for JPEG and TIFF compilation
1044 - Fixed submenu accelerator bug
1045 - Fixed dialog focus bug (crash if the previous window to have
1046 the focus was destroyed before the dialog closed)
1047 - Too-small default wxTextCtrl height fixed
1048 - fixed "missing" initial resize of wxMDIChildFrame
1049 - wxFrame restores focus better
1050 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
1051 frames and dialogs, interferes with other window styles otherwise
1052 (sometimes you'd get a thick frame in a subwindow)
1053 - wxTextCtrl insertion point set to the beginning of the control by SetValue
1054 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
1055 - wxFileDialog: adjusts struct size if there's an error (struct
1056 sizes can be different on different versions of Windows)
1057 - wxImageList::GetSize() documented and added to wxMSW
1058 - fixed default dialog style to make them non resizeable again
1059 - fixed wxFrame::IsShown() which always returned TRUE before
1060
1061 wxGTK:
1062
1063 - Please see docs/gtk/changes.txt.
1064
1065 wxMotif:
1066
1067 - Small compilation fixes
1068
1069 Documentation:
1070
1071 - wxCaret documented
1072
1073 2.1.16
1074 ------
1075
1076 wxBase:
1077
1078 All (GUI):
1079
1080 wxMSW:
1081
1082 - Various bug fixes
1083 - Added wxCHMHelpController, for invoking MS HTML Help
1084 files. This works under VC++ only
1085 - Modal dialog handling improved
1086 - Printer dialog now modal
1087
1088 wxGTK:
1089
1090 - Various bug fixes
1091
1092 wxMotif:
1093
1094 - Various bug fixes
1095
1096 2.1.15
1097 ------
1098
1099 Documentation:
1100
1101 - Added docs/tech for technical notes
1102
1103 File hierarchy:
1104
1105 - Started new contrib hierarchy that mirrors
1106 the main lib structure; moved OGL and MMedia into it
1107
1108 wxBase:
1109
1110 - wxSocket support
1111 - wxDateTime replaces and extends old wxDate and wxTime classes (still
1112 available but strongly deprecated) with many new features
1113 - wxLongLong class provides support for (signed) 64 bit integers
1114 - wxCmdLineParser class for parsing the command line (supporting short and
1115 long options, switches and parameters of different types)
1116 - it is now possible to build wxBase under Win32 (using VC++ only so far)
1117 and BeOS (without thread support yet)
1118 - wxThread class modified to support both detached and joinable threads, also
1119 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
1120 only so far)
1121 - wxDir class for enumerating files in a directory
1122 - wxLog functions are now (more) MT-safe
1123 - wxStopWatch class, timer functions have more chances to return correct
1124 results for your platform (use ANSI functions where available)
1125 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
1126 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
1127 is available)
1128 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
1129
1130 all (GUI):
1131
1132 - Added wxImage::Rotate.
1133 - new wxCalendarCtrl class for picking a date interactively
1134 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu management
1135 - wxToolBar supports arbitrary controls (not only buttons) and can be
1136 dynamically changed (Delete/Insert functions)
1137 - vertical toolbars supported by MSW and GTK native wxToolBar classes
1138 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
1139 - "file open" dialog allows selecting multiple files at once (contributed by
1140 John Norris)
1141 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
1142 MIME types if available (Unix only)
1143 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
1144 - TIFF support added (libtiff required and included in the distribution)
1145 - PCX files can now be written (256 and 24 bits)
1146 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
1147 - wxScrolledWindow now has keyboard interface
1148 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
1149 - added wxEncodingConverter and improved wxFontMapper
1150 for dealing with conversions between different encodings,
1151 charsets support in wxLocale and wxHTML
1152 - wxDragImage class added
1153 - samples/help improved to show standard and advanced HTML help
1154 controllers, as well as native help
1155 - moved wxTreeLayout class to main lib
1156
1157 wxMSW:
1158
1159 - wxFrame::MakeFullScreen added.
1160 - support for enhanced metafiles added, support for copying/pasting metafiles
1161 (WMF and enhanced ones) fixed/added.
1162 - implemented setting colours for push buttons
1163 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
1164 positioned along the top of the screen and not only at the bottom
1165 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
1166 - loading/saving big (> 32K) files in wxTextCtrl works
1167 - tooltips work with wxRadioBox
1168 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
1169 Unix ports
1170 - returning FALSE from OnPrintPage() aborts printing
1171 - VC++ makefiles and project files made (mostly) consistent
1172 - wxSetCursorEvent added
1173
1174 wxGTK:
1175
1176 - wxFontMapper endless recursion bug (on some systems) fixed
1177 - wxGTK synthesizes wxActivateEvents
1178 - UpdateUI handlers may be used with wxTextCtrl
1179
1180 wxMotif:
1181
1182 - wxMenu::Enable works
1183 - wxToolBar bugs fixed
1184 - OGL samples made to work again
1185
1186 wxHTML:
1187
1188 - almost complete rewrite of wxHtmlHelpController,
1189 including faster search, bookmarks, printing, setup dialog
1190 and cross-platform binary compatible .cached files for faster
1191 loading of large helpbooks, case insensitive search
1192 split into 3 parts: wxHtmlHelpData, Frame and Controller
1193 - added support for charsets and <meta> tag
1194 - added support for font faces and justified paragraphs,
1195 taken some steps to prepare wxHTML for frames
1196 - added dynamic pushing/popping of wxHtmlParser tag handlers
1197 - improved HTML printing
1198 - added extensive table of HTML characters substitutions (&nbsp; etc.)
1199 - fixed wxHtmlWindow flickering, several minor bugfixes
1200 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
1201 fixed handling of relative and absolute font sizes in <font size>
1202
1203
1204 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
1205 change log.
1206
1207 2.1.0, b4, May 9th 1999
1208 -----------------------
1209
1210 wxGTK:
1211
1212 - JPEG support added.
1213 - Many fixes and changes not thought worth mentioning in this file :-)
1214
1215 wxMSW:
1216
1217 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
1218 SetTabSize added.
1219 - JPEG support added.
1220 - Fixes for Cygwin compilation.
1221 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
1222 - Many fixes people didn't tell this file about.
1223
1224 wxMotif:
1225
1226
1227 General:
1228
1229 - Some changes for Unicode support, including wxchar.h/cpp.
1230
1231
1232 2.0.1 (release), March 1st 1999
1233 -------------------------------
1234
1235 wxGTK:
1236
1237 - wxGLCanvas fixes.
1238 - Slider/spinbutton fixes.
1239
1240 wxMSW:
1241
1242 - Fixed problems with <return> in dialogs/panels.
1243 - Fixed window cursor setting.
1244 - Fixed toolbar sizing and edge-clipping problems.
1245 - Some makefile fixes.
1246
1247 wxMotif:
1248
1249 - None.
1250
1251 General:
1252
1253 - Added wxUSE_SOCKETS.
1254 - More topic overviews.
1255 - Put wxPrintPaperType, wxPrintPaperDatabase into
1256 prntbase.h/cpp for use in non-PostScript situations
1257 (e.g. Win16 wxPageSetupDialog).
1258
1259
1260 Beta 5, February 18th 1999
1261 --------------------------
1262
1263 wxGTK:
1264
1265 - wxExecute improved.
1266
1267 wxMSW:
1268
1269 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
1270 expected).
1271 - Changed VC++ makefiles (.vc) so that it's possible to have
1272 debug/release/DLL versions of the library available simultaneously,
1273 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
1274 - Added BC++ 5 IDE files and instructions.
1275 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
1276 - Fixed focus-related crash.
1277
1278 wxMotif:
1279
1280 - Cured asynchronous wxExecute crash.
1281 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
1282
1283 General:
1284
1285 - wxLocale documented.
1286 - Added include filenames to class reference.
1287 - wxHelpController API changed: SetBrowser becomes SetViewer,
1288 DisplaySection works for WinHelp, help sample compiles under Windows
1289 (though doesn't display help yet).
1290
1291 Beta 4, February 12th 1999
1292 --------------------------
1293
1294 wxGTK:
1295
1296 - Miscellaneous fixes.
1297
1298 wxMSW:
1299
1300 - Makefiles for more compilers and samples; Cygwin makefiles
1301 rationalised.
1302 - Added VC++ project file for compiling wxWindows as DLL.
1303
1304 wxMotif:
1305
1306 - Added OnEraseBackground invocation.
1307 - Added wxRETAINED implementation for wxScrolledWindow.
1308 - Cured scrolling display problem by adding XmUpdateDisplay.
1309 - Tried to make lex-ing in the makefile more generic (command line
1310 syntax should apply to both lex and flex).
1311 - Changed file selector colours for consistency (except for buttons:
1312 crashes for some reason).
1313 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
1314 of malloc, which causes memory problems).
1315
1316 General:
1317
1318 - Further doc improvements.
1319 - wxGenericValidator added.
1320 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
1321 automatically.
1322
1323 Beta 3, January 31st 1999
1324 -------------------------
1325
1326 wxGTK:
1327
1328 - wxClipboard/DnD API changes (still in progress).
1329 - wxToolTip class added.
1330 - Miscellaneous fixes.
1331
1332 wxMSW:
1333
1334 - wxRegConfig DeleteAll bug fixed.
1335 - Makefiles for more compilers.
1336 - TWIN32 support added.
1337 - Renamed VC++ makefiles from .nt to .vc, and
1338 factored out program/library settings.
1339 - Fixed wxIniConfig bug.
1340
1341 wxMotif:
1342
1343 - A few more colour fixes.
1344 - wxGLCanvas and OpenGL samples working.
1345 - Some compiler warnings fixed.
1346 - wxChoice crash fix.
1347 - Dialog Editor starting to work on Motif.
1348
1349 General:
1350
1351 - wxBusyCursor class added.
1352 - Added samples/dde.
1353 - More doc improvements, incl. expanding docs/html/index.htm.
1354
1355 Beta 2, January 1999
1356 --------------------
1357
1358 wxGTK:
1359
1360 wxMSW:
1361
1362 - 16-bit BC++ compilation/linking works albeit without the resource system.
1363
1364 wxMotif:
1365
1366 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
1367 the right place.
1368 - Cured some widget table clashes.
1369 - Added thread support (Robert).
1370 - wxPoem sample now works.
1371
1372 General:
1373
1374 - Rearranged documentation a bit.
1375 - Sash window uses area of first frame/dialog to paint over when drawing
1376 the dragged sash, not just the sash window itself (it clipped to the right
1377 or below).
1378 - Made resource sample use the correct Cancel button id.
1379 - Moved wxProp to main library (generic directory), created proplist
1380 sample.
1381 - Added bombs and fractal samples.
1382
1383 Beta 1, December 24th 1998
1384 --------------------------
1385
1386 wxGTK:
1387
1388 - Various
1389
1390 wxMSW, wxMotif: not in sync with this release.
1391
1392
1393 Alpha 18, December 29th 1998
1394 ----------------------------
1395
1396 wxMSW:
1397
1398 - Win16 support working again (VC++ 1.5)
1399 - Win16 now uses generic wxNotebook, wxListCtrl,
1400 wxTreeCtrl -- more or less working now, although
1401 a little work on wxNotebook is still needed.
1402 Under 16-bit Windows, get assertion when you click
1403 on a tab.
1404 - Wrote 16-bit BC++ makefiles: samples don't yet link.
1405 - Added CodeWarrior support to distribution courtesy
1406 of Stefan Csomor.
1407
1408 wxMotif:
1409
1410 - Cured scrolling problem: scrollbars now show/hide themselves
1411 without (permanently) resizing the window.
1412 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
1413 that disabled scrollbar paging.
1414 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
1415 colours correctly.
1416 - Removed major bug whereby dialogs were unmanaged automatically
1417 when any button was pressed.
1418 - Fixed colours of wxWindow scrollbars, made list and text controls
1419 have a white background.
1420 - Fixed dialog colour setting.
1421 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
1422 they have sensible colours by default.
1423 - Fixed a bug in wxStaticBox.
1424 - Cured wxTreeCtrl bug: now works pretty well!
1425 - Debugged DrawEllipticArc (a ! in the wrong place).
1426 - Added SetClippingRegion( const wxRegion& region ).
1427 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
1428
1429 Alpha 17, November 22nd 1998
1430 ----------------------------
1431
1432 wxMSW:
1433
1434 - More documentation updates, especially for
1435 wxLayoutWindow classes and debugging facilities.
1436 - Changed wxDebugContext to use wxDebugLog instead
1437 of wxTrace.
1438 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
1439 However, DLL support may be broken for BC++ since
1440 VC++ 6 required changing of WXDLLEXPORT keyword
1441 position.
1442 - Numerous miscellaneous changes.
1443
1444 wxMotif:
1445
1446 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
1447 were too buggy (probably not design for dynamic addition/removal of
1448 child frames).
1449 - Some improvements to the wxNotebook implementation.
1450 - wxToolBar now uses a bulletin board instead of a form, in an attempt
1451 to make it possible to add ordinary wxControls to a toolbar.
1452 - Cured problem with not being able to use global memory operators,
1453 by defining two more global operators, so that the delete will match
1454 the debugging implementation.
1455 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
1456 global memory operators (usually OK) and #defining new to be
1457 WXDEBUG_NEW (sometimes it might not be OK).
1458 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
1459 - Added a parent-existence check to popup menu code to make it not crash.
1460 - Added some optimization in wxWindow::SetSize to produce less flicker.
1461 It remains to be seen whether this produces any resize bugs.
1462
1463 It's a long time since I updated this file. Previously done:
1464
1465 - wxFrame, wxDialog done.
1466 - wxScrolledWindow done (but backing pixmap not used at present).
1467 - wxBitmap done though could be tidied it up at some point.
1468 - Most basic controls are there, if not rigorously tested.
1469 - Some MDI support (menus appear on child frames at present).
1470 - wxNotebook almost done.
1471 - wxToolBar done (horizontal only, which would be easy to extend
1472 to vertical toolbars).
1473
1474 More recently:
1475
1476 - Colour and font changing done (question mark over what happens
1477 to scrollbars).
1478 - Accelerators done (for menu items and buttons). Also event loop
1479 tidied up in wxApp so that events are filtered through ProcessXEvent.
1480 - wxWindow::GetUpdateRegion should now work.
1481
1482 Alpha 16, September 8th 1998
1483 ----------------------------
1484
1485 wxMSW:
1486
1487 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
1488 sample.
1489 - Guilhem's socket classes added, plus wxsocket sample.
1490 - A few more makefiles added.
1491 - GnuWin32/BC++ compatibility mods.
1492 - Further doc updates.
1493 - wxProp updates for correct working with wxGTK.
1494
1495 wxMotif:
1496
1497 - First start at Motif port.
1498 - Made makefiles for wxMotif source directory and minimal sample.
1499 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
1500 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
1501 wxMenu, wxMenuItem, wxMenuBar
1502
1503 Alpha 15, August 31st 1998
1504 --------------------------
1505
1506 wxMSW:
1507
1508 - wxBitmap debugged.
1509 - wxDC::GetDepth added.
1510 - Contribution added whereby wxBitmap will be
1511 converted to DC depth if they don't match.
1512 - wxConfig API improved, documentation updated.
1513 - Printing classes name conventions cleaned up.
1514 - wxUpdateUIEvent now derives from wxCommandEvent
1515 so event can travel up the window hierarchy.
1516
1517 Alpha 14, July 31st 1998
1518 ------------------------
1519
1520 wxMSW:
1521
1522 - Toolbar API has been simplified, and now
1523 wxFrame::GetClientArea returns the available client
1524 area when toolbar, status bar etc. have been accounted for.
1525 wxFrame::CreateToolBar added in line with CreateStatusBar.
1526 - Documentation updates, incl. for wxToolBar.
1527 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
1528 - Various additions from other folk, e.g. streams, wxConfig
1529 changes, wxNotebook.
1530 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
1531
1532 Alpha 13, July 8th 1998
1533 -----------------------
1534
1535 wxMSW:
1536
1537 - Implemented wxPoint as identical to POINT on Windows, and
1538 altered wxDC wxPoint functions to use wxPoint directly in
1539 Windows functions, for efficiency.
1540 - Cured wxASSERT bug in wxStatusBar95.
1541 - #ifdefed out some bits in oleutils.cpp for compilers that
1542 don't support it.
1543 - Added some operators to wxPoint, wxSize.
1544 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
1545
1546 Alpha 12, July 7th 1998
1547 -----------------------
1548
1549 wxMSW:
1550
1551 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
1552 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
1553
1554 Alpha 11, July 3rd 1998
1555 -----------------------
1556
1557 wxMSW:
1558
1559 - Added thread.h, thread.cpp.
1560 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
1561 wxMenuBar.
1562 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
1563 SetTextColor to SetTextColour, and added or made public several
1564 wxMenuItem accessors.
1565 - Added two overloads to wxRegion::Contains. Added
1566 wxRegion::IsEmpty for a more consistent naming convention.
1567 - Added Vadim's wxDataObject and wxDropSource.
1568 - ENTER/LEAVE events now work.
1569 - Cured wxMemoryDC bug where the DC wasn't being deleted.
1570 - Cured wxGauge SetSize major bugginess.
1571 - Cured problem where if a GDI object was created on the stack,
1572 then went out of scope, then another object was selected into
1573 the DC, GDI objects would leak. This is because the assignment
1574 to e.g. wxDC::m_pen would delete the GDI object without it first
1575 being selected out of the DC. Cured by selecting the old DC object
1576 first, then doing the assignment.
1577 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
1578 - Various other bug fixes and additions.
1579
1580 Generic:
1581
1582 - Major work on Dialog Editor (still plenty to go).
1583 - Expanded documentation a bit more.
1584
1585 Alpha 10, May 7th 1998
1586 ----------------------
1587
1588 wxMSW:
1589
1590 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
1591 and wxIcon functions so that you can specify what size of
1592 icon should be loaded. Probably will remain a Windows-specific thing.
1593 - wxStatusBar95 now works for MDI frames.
1594 - Toolbars in MDI frames now behave normally. They still
1595 require application-supplied positioning code though.
1596 - Changed installation instructions, makefiles and batch files
1597 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
1598 change to support Mingw32/EGCS. Bison now used by default.
1599
1600 Alpha 9, April 27th 1998
1601 ------------------------
1602
1603 wxMSW:
1604
1605 - Cured bug in wxStatusBar95 that caused a crash if multiple
1606 fields were used.
1607 - Added Gnu-Win32 b19/Mingw32 support by changing resource
1608 compilation and pragmas.
1609 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
1610 commands because VZ changed the id setting in wxMenu::MSWCommand.
1611
1612 Generic:
1613
1614 - Corrected some bugs, such as the wxModule compilation problem.
1615 - Added Gnu-Win32 b19/Mingw32 support by changing resource
1616 compilation and pragmas.
1617 - Changed SIZEOF to WXSIZEOF.
1618
1619 Alpha 8, April 17th 1998
1620 ------------------------
1621
1622 wxMSW:
1623
1624 - Added IsNull to wxGDIObject to check if the ref data is present or not.
1625 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
1626 some reason :-(
1627 - Added wxJoystick class and event handling, and simple demo.
1628 - Added simple wxWave class. Needs Stop() function.
1629 - Added wxModule (module.h/module.cpp) to allow definition
1630 of modules to be initialized and cleaned up on wxWindows
1631 startup/exit.
1632 - Start of Mingw32 compatibility (see minimal and dialogs samples
1633 makefile.m95 files, and install.txt).
1634 - Note: Windows printing has stopped working... will investigate.
1635 VADIM'S CHANGES:
1636 - Updated wxString: bug fixes, added wxArrayString, some
1637 compatibility functions.
1638 - Updated log.h/cpp, added wxApp::CreateLogTarget.
1639 - file.h: new wxTempFile class.
1640 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
1641 - statbr95: wxStatusBar95 control.
1642 - registry.h/cpp: wxRegKey class for Win95 registry.
1643 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
1644 - wxConfig and wxFileConfig classes.
1645
1646 Generic:
1647
1648 - Added src/other/png, src/other/zlib directories.
1649 - Added samples/png.
1650 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
1651 Porters, please check particularly your wxTreeCtrl and wxListCtrl
1652 header files.
1653 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
1654
1655 Alpha 7, March 30th 1998
1656 ------------------------
1657
1658 wxMSW:
1659
1660 - Added tab classes, tab sample.
1661 - Now can return FALSE from OnInit and windows will be
1662 cleaned up properly before exit.
1663 - Improved border handling so panels don't get borders
1664 automatically.
1665 - Debugged MDI activation from Window menu.
1666 - Changes to memory debug handling, including checking for
1667 memory leaks on application exit - but see issues.txt for
1668 unresolved issues.
1669 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
1670 to allow maintenance of an icon in the Windows 95 taskbar
1671 tray area.
1672 - Got MFC sample working (MFC and wxWindows in the same
1673 application), partly by tweaking ntwxwin.mak settings.
1674 - Got DLL compilation working again (VC++).
1675 - Changed wxProp/Dialog Editor filenames.
1676
1677 Generic:
1678
1679 - Added tab classes, tab sample.
1680 - Revised memory.cpp, memory.h slightly; memory.h now #defines
1681 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
1682 now checks for leaks on exit. Added memcheck sample.
1683 See src/msw/issues.txt for more details.
1684 - resource.h, resource.cpp changed to make wxDefaultResourceTable
1685 a pointer. Now initialize resource system with
1686 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
1687 allow better control of memory.
1688 - wxString now derives from wxObject, to enable memory leak
1689 checking.
1690 - Added some #include fixes in various files, plus changed
1691 float to long in wxToolBar files.
1692
1693 Alpha 6, March 10th 1998
1694 ------------------------
1695
1696 wxMSW:
1697
1698 - Found stack error bug - stopped unwanted OnIdle recursion.
1699 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
1700 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
1701 check if the number of top-level windows is zero before
1702 exiting. Also, wxApp::GetTopWindow will return either
1703 m_topWindow or the first member of wxTopLevelWindows, so you
1704 don't have to call wxApp::SetTopWindow.
1705 - Added dynarray.h/dynarray.cpp (from Vadim).
1706 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1707 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1708 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1709 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1710 IUnknown.
1711 Doesn't work with BC++ either - crashes on program startup.
1712 - Added Vadim's owner-draw modifications - will probably remain
1713 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1714 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1715 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1716 Doesn't entirely work for WIN16.
1717 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1718 can also be used as an argument to wxMenu::Append, not just for
1719 internal implementation.
1720 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1721 in makeg95.env, together with mingw32.bat). However, resource
1722 binding is not working yet so most apps with dialogs crash.
1723
1724 Generic:
1725
1726 - Added Vadim's dynarray.h, dynarray.cpp.
1727 - Added Vadim's menuitem.cpp.
1728 - Added Windows-specific wxCheckListBox,
1729 owner-draw wxListBox, and drag-and-drop
1730 (see docs/msw/changes.txt).
1731
1732 Alpha 5, 14th February 1998
1733 --------------------------
1734
1735 wxMSW:
1736
1737 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1738 DISTRIBUTIONS. This change log will therefore now refer to
1739 the Windows-specific code only. See docs/changes.txt for generic
1740 changes.
1741 - Removed Windows-specific reference counting system (GDI
1742 resources were cleaned up in idle time) - minimal
1743 advantages now we have a wxWin reference counting system.
1744 - Added missing WXDLLEXPORT keywords so DLL compilation works
1745 again.
1746 - Removed most warnings for GnuWin32 compilation.
1747 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1748 e.g. wxDC.
1749
1750 Generic:
1751
1752 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1753 DISTRIBUTIONS. This change log will therefore now refer to
1754 the generic code only. See docs/msw/changes.txt for Windows-specific
1755 changes.
1756 - Readmes, change logs and installation files now go in
1757 platform-specific directories under docs, e.g. docs/msw,
1758 docs/gtk.
1759 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1760 created dynamically, not as a global object.
1761 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1762 - Changed names of some include/wx/generic headers to be
1763 consistent and to conform to gcc pragma conventions. Also
1764 changed choicesg.cpp to choicdgg.cpp.
1765 - Added gcc pragmas.
1766 - Added gtk inclusion in include/wx headers.
1767 - Added consistent file headings to source and headers.
1768 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1769 added a few references to wxTransString.
1770 - Added operator to wxTransString that converts automatically
1771 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1772 - samples/internat now works (minimally).
1773 - Added wxMouseEvent::GetPosition and
1774 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1775 - Made wxSize and wxRect contain longs not ints.
1776 - Cured some memory leaks (thanks Vadim).
1777 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1778 will only keep processing OnIdle if it returns TRUE from
1779 MoreRequested.
1780
1781 Alpha 4, 31st January 1998
1782 --------------------------
1783
1784 All:
1785
1786 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1787 integer pointers, plus a version that returns a wxSize.
1788 - const keyword added to various wxDC functions.
1789 - Under Windows, wxDC no longer has any knowledge of whether
1790 an associated window is scrolled or not. Instead, the device
1791 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1792 - wxScrolledWindow applications can optionally override the virtual OnDraw
1793 function instead of using the OnPaint event handler. The wxDC passed to
1794 OnDraw will be translated by PrepareDC to reflect scrolling.
1795 When drawing outside of OnDraw, must call PrepareDC explicitly.
1796 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1797 scrolling toolbars.
1798 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1799 to help printing with multiple pages.
1800 - IPC classes given base classes (wxConnectionBase etc.) which
1801 define the API used by different implementations. DDE
1802 implementation updated to use these base classes.
1803 - wxHelpInstance now separated into wxHelpControllerBase (base
1804 for all implementations), wxWinHelpController (uses standard
1805 WinHelp), wxXLPHelpController (talks to wxHelp by DDE or
1806 TCP/IP). There will be others eventually, such as
1807 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1808 - Added Vadim Zeitlin's wxString class plus
1809 internationalization code (gettext simulation, wxLocale, etc.).
1810 New files from Vadim:
1811 include\wx\string.h
1812 include\wx\debug.h
1813 include\wx\file.h
1814 include\wx\log.h
1815 include\wx\intl.h
1816 src\common\string.cpp
1817 src\common\log.cpp
1818 src\common\intl.cpp
1819 src\common\file.cpp
1820 No longer use GNU wxString files.
1821 - Split off file-related functions into include\wx\filefn.h and
1822 src\common\filefn.cpp.
1823 - Borland C++ support (WIN32) for main library and
1824 samples, using makefile.b32 files.
1825 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1826 including changes to defs.h.
1827 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1828 introduced.
1829 - Added wxShowEvent (generated when window is being shown or
1830 hidden).
1831 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1832 cured 16-bit problem with wxTextCtrl (removed global memory
1833 trick).
1834 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1835
1836 Alpha 3, September 1997
1837 -----------------------
1838
1839 All:
1840
1841 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1842 - Instigated new file hierarchy, split files and classes up more logically.
1843 - PrologIO and some other utils now put into core library.
1844 - Revamped print/preview classes, added wxPageSetupDialog.
1845 - Started documentation.
1846
1847 Alpha 2, 30th April 1997
1848 ------------------------
1849
1850 All:
1851
1852 - EVT_... macros now have at least one argument, for conformance
1853 with MetroWerks compiler.
1854 - Added ids to .wxr file format.
1855 - Got Dialog Editor compiled and running again but need
1856 to extend functionality to be in line with new controls.
1857 Added dialoged\test app to allow dynamic loading of .wxr files
1858 for testing purposes.
1859 - Rewrote wxBitmap to allow installable file type
1860 handlers.
1861 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1862 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1863 fully).
1864 - Added back wxRadioBox.
1865 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1866 a separate file.
1867
1868 Alpha 1, 5th April 1997
1869 -----------------------
1870
1871 Generic:
1872
1873 At this point, the following has been achieved:
1874
1875 - A lot, but not all, of the code has been revamped for better
1876 naming conventions, protection of data members, and use of
1877 wxString instead of char *.
1878 - Obsolete functionality deleted (e.g. default wxPanel layout,
1879 old system event system) and code size reduced.
1880 - Class hierarchy changed (see design doc) - base classes such
1881 as wxbWindow now removed.
1882 - No longer includes windows.h in wxWin headers, by using stand-in
1883 Windows types where needed e.g. WXHWND.
1884 - PrologIO revised.
1885 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1886 MDI is now achieved using separate classes, not window styles.
1887 - wxSystemSettings added, and made use of to reflect standard
1888 Windows settings.
1889 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1890 settings mucho rationalised.
1891 - All windows are now subclassed with the same window proc to make
1892 event handling far more consistent. Old internal wxWnd and derived
1893 classes removed.
1894 - API for controls revised, in particular addition of
1895 wxValidator parameters and removal of labels for some controls.
1896 - 1 validator written: see examples/validate.
1897 - Event table system introduced (see most samples and
1898 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1899 made more flexible, with Push/PopEventHandler allowing a chain
1900 of event handlers.
1901 - wxRadioBox removed - will be added back soon.
1902 - Toolbar class hierarchy revised:
1903 wxToolBarBase
1904 wxToolBarSimple (= old wxToolBar)
1905 wxToolBar95 (= old wxButtonBar under Win95
1906 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1907 - Constraint system debugged somewhat (sizers now work properly).
1908 - wxFileDialog, wxDirDialog added; other common dialogs now
1909 have class equivalents. Generic colour and font dialogs
1910 rewritten to not need obsolete panel layout.
1911 - .wxr resource system partially reinstated, though needs
1912 an integer ID for controls. Hopefully the resource system
1913 will be replaced by something better and more efficient
1914 in the future.
1915 - Device contexts no longer stored with window and accessed
1916 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1917 variables instead.
1918 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1919 determines whether labels are shown. Other Win95-specific flags
1920 introduced, e.g. for showing ticks.
1921 - Styles introduced for dealing with 3D effects per window, for
1922 any window: all Win95 3D effects supported, plus transparent windows.
1923 - Major change to allow 3D effect support without CTL3D, under
1924 Win95.
1925 - Bitmap versions of button and checkbox separated out into new
1926 classes, but unimplemented as yet because I intend to remove
1927 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1928 - utils/wxprop classes working (except maybe wxPropertyFormView)
1929 in preparation for use in Dialog Editor.
1930 - GNU-WIN32 compilation verified (a month or so ago).
1931
1932