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