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