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