]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
recent MSW changes: wxFrame border styles and wxRadioButton dummy events fixes
[wxWidgets.git] / docs / changes.txt
1 wxWindows 2 Change Log
2 ----------------------
3
4 INCOMPATIBLE CHANGES SINCE 2.2.x
5 ================================
6
7 wxBase:
8
9 - wxArray<T>::Remove(size_t) has been removed to fix compilation problems
10 under 64 bit architectures, please replace it with RemoveAt() in your
11 code.
12
13 - wxObject::CopyObject() and Clone() methods were removed because they
14 simply don't make sense for all objects
15
16 - wxEvent now has a pure virtual Clone() method which must be implemented
17 by all derived classes, if you have user-defined event classes please
18 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
19
20 All (GUI):
21
22 - the event type constants are not constants any more but are dynamically
23 allocated during run-time which means that they can't be used as case labels
24 in the switch()es, you must rewrite them to use if()s instead
25
26 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
27 but this is strongly discouraged, please consider changing your codei
28 instead!
29
30 - wxDialog does not derive from wxPanel any longer - if you were using it in
31 your code, please update it. The quick fix for the most cases is to replace
32 the occurences of wxPanel with wxWindow.
33
34 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
35 have changed (to fix some unfortunate clashes), please check your code to
36 ensure that no tests for wxYES or wxNO are broken: for example, the following
37 will *NOT* work any longer:
38
39 if ( flags & wxYES_NO )
40 ... do something ...
41 if ( flags & wxYES )
42 ... do something else ...
43
44 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
45
46 - wxGridCellAttrProvider class API changed, you will need to update your code
47 if you derived any classes from it
48
49 wxMSW:
50
51 - build system changed: setup.h is not a static file in include/wx any more
52 but is created as part of the build process under lib/<toolkit>/wx/include
53 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
54 the include path in your make/project files appropriately.
55
56 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
57 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
58 effect
59
60 Unix ports:
61
62 - You should use `wx-config --cxxflags` in your makefiles instead of
63 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
64 and the compiler flags for C++ files only, CFLAGS should still be used
65 to compile pure C files.
66
67 2.3.3
68 -----
69
70 wxBase:
71
72 - fixes to the command line parsing error and usage messages
73 - modified wxFileName::CreateTempFileName() to open the file atomically
74 (if possible) and, especially, not to leak the file descriptors under Unix
75 - memory leak in wxHTTP fixed (Dimitri)
76
77 All (GUI):
78
79 - added IFF image handler
80 - fixed using custom renderers in wxGrid which was broken in 2.3.2
81 - support for multiple images in one file added to wxImage (TIFF and ICO formats)
82 - support for CUR and ANI files in wxImage added (Chris Elliott)
83 - wxTextCtrl::GetRange() added
84
85 wxMSW:
86
87 - huge (40*) speed up in wxMask::Create() (=> much faster toolbar creation)
88 - fixed flicker in wxTreeCtrl::SetItemXXX()
89 - fixed redraw problems in dynamically resized wxStaticText
90 - improvements to wxWindows applications behaviour when the system colours
91 are changed
92 - fixed wxProgressDialog for ranges > 65535
93 - wxFontEnumerator now returns all fonts, not only TrueType ones
94 - bugs in handling wxFrame styles (border/caption related) fixed
95 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
96 recursion any more
97 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
98
99 wxGTK:
100
101 - wxDirDialog now presents the file system in standard Unix way
102 - wxButton now honours wxBU_EXACTFIT
103 - wxStaticBox now honours wxALIGN_XXX styles
104
105 2.3.2
106 -----
107
108 New port: wxUniv for Win32/GTK+ is now included in the distribution.
109
110 wxBase:
111
112 - wxRegEx class added
113 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
114 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
115 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
116 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
117 capabilities at runtime instead of in the configure script.
118
119 All (GUI):
120
121 - support for virtual list control added
122 - column images in report mode of the list control
123 - wxFindReplaceDialog added (based on work of Markus Greither)
124 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
125 - polygon support in wxRegion (Klaas Holwerda)
126 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
127 - fixed bug with using wxExecute() to capture huge amounts of output
128 - new wxCalendarCtrl styles added (Søren Erland Vestø)
129 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
130 - wxDirSelector() added (Paul A. Thiessen)
131 - wxGrid cell editing veto support (Roger Gammans)
132 - wxListCtrl ITEM_FOCUSED event added
133 - support for ICO files in wxImage added (Chris Elliott)
134
135 wxMSW:
136
137 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
138 - new library naming convention under VC++ -- please change your application
139 project files
140
141 wxGTK:
142
143 - fixed popup menu positioning bug
144
145 wxHTML:
146
147 - new HTML parser with correct parsing of character entities and fixes
148 to tags parsing
149 - added support for animated GIFs
150
151 2.3.1
152 -----
153
154 wxBase:
155
156 - Fixes for gcc 3.0
157 - Fixed new charset detection code
158 - ODBC Informix fixes (submitted by Roger Gammans)
159 - Added ODBC date support to wxVariant
160 - Added wxDir::Traverse
161 - Added wxSingleInstanceChecker class
162 - Removed redundant wxDebugContext functions using C++ streams,
163 so now standard stream usage should be unnecessary
164
165 All (GUI):
166
167 - Added wxDbGrid class for displaying ODBC tables
168 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
169 user code can get access to the edit control when it is created, (to
170 push on a custom event handler for example)
171 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
172 GetDefaultStyle methods to wxTextCtrl
173 - Added wxSingleInstanceChecker
174 - Improvements to Tex2RTF
175 - Added Paul and Roger Gammans' grid controls
176 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
177 first-time saved
178 - Fixed memory leak in textcmn.cpp
179 - Various wxXML enhancements
180 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
181 - Fixed memory leak in DoPrint, htmprint.cpp
182 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
183 instead of GetId()
184 - Added wxDbGrid combining wxODBC classes with wxGrid
185 - Added more makefiles and project files for contrib hierarchy
186
187 wxMSW:
188
189 - Fixed wxApp::ProcessMessage so controls don't lose their
190 accelerators when the accelerators are redefined elsewhere
191 - Accelerators consisting of simple keystrokes (without control,
192 alt or shift) now work
193 - Compile fixes for Watcom C++ added
194 - Compile fixes for Cygwin 1.0 added
195 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
196 - Replaced wxYield() call in PopupMenu() by a much safer
197 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
198 - Enter processing in wxSpinCtrl fixed
199 - Fixed bug in determining the best listbox size
200 - Fix for wxFrame's last focus bug
201 - We now send iconize events
202 - Fixed wxFrame::SetClientSize() with toolbar bug
203 - Added mousewheel processing
204 - Added wxSystemSettings::Get/SetOption so we can configure
205 wxWindows at run time; used this to implement no-maskblt option
206 in wxDC
207 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
208 child frame styles are honoured
209
210 wxGTK:
211
212 - Fixed slider rounding bug
213 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
214 - We now send iconize events
215 - Fix for discrepancies between wxNotebookEvent and wxNotebook
216 GetSelection() results
217
218 2.3.0
219 -----
220
221 wxBase:
222
223 - fixed problem with wxURL when using static version of the library
224 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
225 - wxMimeTypesManager now can create file associations too (Chris Elliott)
226 - wxCopyFile() respects the file permissions (Roland Scholz)
227 - wxFTP::GetFileSize() added (Søren Erland Vestø)
228 - wxDateTime::IsSameDate() bug fixed
229 - wxTimeSpan::Format() now behaves more as expected, see docs
230 - wxLocale now provides much more convenient API for setting language and
231 detecting current system language. New API is more abstracted and truly
232 cross-platform, independent of underlying C runtime library.
233
234 All (GUI):
235
236 - new wxToggleButton class (John Norris, Axel Schlueter)
237 - wxCalendarCtrl not highlighting the date with time part bug fixed
238 - wxADJUST_MINSIZE sizer flag added
239 - FindOrCreateBrush/Pen() bug fix for invalid colour values
240 - new wxXPMHandler for reading and writing XPM images
241 - added new (now recommended) API for conversion between wxImage and wxBitmap
242 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
243 wxImage methods and ctor)
244 - ODBC classes now support DB2, Interbase, and Pervasive SQL
245 - ODBC documentation complete!!
246 - ODBC classes have much Unicode support added, but not complete
247 - ODBC experimental BLOB support added, but not completely tested
248 - ODBC NULL column support completed (Roger/Paul Gammans)
249 - ODBC All "char *" and char arrays removed and replaced with wxString use
250
251 wxMSW:
252
253 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
254 - fixed bug in MDI children flags (mis)handling
255 - it is possible to compile wxCHMHelpController with compilers
256 other than Visual C++ now and hhctrl.ocx is loaded at runtime
257
258 wxGTK:
259
260 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
261
262 wxHTML:
263
264 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
265 - visual enhancements to contents panel of wxHtmlHelpController
266
267 2.2.0
268 -----
269
270 wxBase:
271
272 - Fixed bug with directories with trailing (back)slashes in wxPathExists
273 - wxString: added wxArrayString::operator==() and !=()
274 - Fixes for wxCmdLineParser
275 - Added wxGetLocalTimeMillis
276 - Completed Czech translations
277 - Some stream corrections
278 - added missing consts to wxPoint operators
279 - wxDateTime ParseFormat fixes
280 - wxFile::Open(write_append) will create file if it doesn't exist
281 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
282
283 All (GUI):
284
285 - wxGenericDragImage now allows virtual image drawing, and
286 flicker-free dragging is now possible
287 - Added wxPrinter::GetLastError
288 - Fixed wxLogGui reentrancy problem
289 - Paper names now translated
290 - wxGrid fixes
291 - Generic validator now caters for more cases (integers in
292 wxTextCtrl, strings in wxChoice, wxComboBox)
293 - Fixed crash when docview On... functions return FALSE. Show
294 error message when an non-existent filename is typed into the Open
295 File dialog.
296 - Corrected Baltic font encoding handling
297 - wxImage: enhanced TIFF code, added new platform-independent BMP
298 writing code
299 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
300 - Fixed wxPropertyForm crashes in sample
301 - wxWizard now calls TransferDataFromWindow() before calling
302 wxWizardPage::GetNext() fixing an obvious bug
303
304 wxMSW:
305
306 - wxWindow::GetCharWidth/Height now calculated accurately.
307 This will affect all .wxr dialog resources, so for
308 backward compatibility, please set
309 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
310 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
311 - wxTextCtrl: implemented setting colours for rich edit controls
312 - wxColour now accepts both grey and gray
313 - BC++ DLL compilation fixed
314 - Watcom C++ makefiles improved for JPEG and TIFF compilation
315 - Fixed submenu accelerator bug
316 - Fixed dialog focus bug (crash if the previous window to have
317 the focus was destroyed before the dialog closed)
318 - Too-small default wxTextCtrl height fixed
319 - fixed "missing" initial resize of wxMDIChildFrame
320 - wxFrame restores focus better
321 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
322 frames anddialogs, interferes with other window styles otherwise
323 (sometimes you'd get a thick frame in a subwindow)
324 - wxTextCtrl insertion point set to the beginning of the control by SetValue
325 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
326 - wxFileDialog: adjusts struct size if there's an error (struct
327 sizes can be different on different versions of Windows)
328 - wxImageList::GetSize() documented and added to wxMSW
329 - fixed default dialog style to make them non resizeable again
330 - fixed wxFrame::IsShown() which always returned TRUE before
331
332 wxGTK:
333
334 - Please see docs/gtk/changes.txt.
335
336 wxMotif:
337
338 - Small compilation fixes
339
340 Documentation:
341
342 - wxCaret documented
343
344 2.1.16
345 ------
346
347 wxBase:
348
349 All (GUI):
350
351 wxMSW:
352
353 - Various bug fixes
354 - Added wxCHMHelpController, for invoking MS HTML Help
355 files. This works under VC++ only
356 - Modal dialog handling improved
357 - Printer dialog now modal
358
359 wxGTK:
360
361 - Various bug fixes
362
363 wxMotif:
364
365 - Various bug fixes
366
367 2.1.15
368 ------
369
370 Documentation:
371
372 - Added docs/tech for technical notes
373
374 File hierarchy:
375
376 - Started new contrib hierarchy that mirrors
377 the main lib structure; moved OGL and MMedia into it
378
379 wxBase:
380
381 - wxSocket support
382 - wxDateTime replaces and extends old wxDate and wxTime classes (still
383 available but strongly deprecated) with many new features
384 - wxLongLong class provides support for (signed) 64 bit integers
385 - wxCmdLineParser class for parsing the command line (supporting short and
386 long options, switches and parameters of different types)
387 - it is now possible to build wxBase under Win32 (using VC++ only so far)
388 and BeOS (without thread support yet)
389 - wxThread class modified to support both detached and joinable threads, also
390 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
391 only so far)
392 - wxDir class for enumerating files in a directory
393 - wxLog functions are now (more) MT-safe
394 - wxStopWatch class, timer functions have more chances to return correct
395 results for your platform (use ANSI functions where available)
396 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
397 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
398 is available)
399 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
400
401 all (GUI):
402
403 - Added wxImage::Rotate.
404 - new wxCalendarCtrl class for picking a date interactively
405 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
406 - wxToolBar supports arbitrary controls (not only buttons) and can be
407 dynamically changed (Delete/Insert functions)
408 - vertical toolbars supported by MSW and GTK native wxToolBar classes
409 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
410 - "file open" dialog allows selecting multiple files at once (contributed by
411 John Norris)
412 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
413 MIME types if available (Unix only)
414 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
415 - TIFF support added (libtiff required and included in the distribution)
416 - PCX files can now be written (256 and 24 bits)
417 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
418 - wxScrolledWindow now has keyboard interface
419 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
420 - added wxEncodingConverter and improved wxFontMapper
421 for dealing with convertions between different encodings,
422 charsets support in wxLocale and wxHTML
423 - wxDragImage class added
424 - samples/help improved to show standard and advanced HTML help
425 controllers, as well as native help
426 - moved wxTreeLayout class to main lib
427
428 wxMSW:
429
430 - wxFrame::MakeFullScreen added.
431 - support for enhanced metafiles added, support for copying/pasting metafiles
432 (WMF and enhanced ones) fixed/added.
433 - implemented setting colours for push buttons
434 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
435 positioned along the top of the screen and not only at the bottom
436 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
437 - loading/saving big (> 32K) files in wxTextCtrl works
438 - tooltips work with wxRadioBox
439 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
440 Unix ports
441 - returning FALSE from OnPrintPage() aborts printing
442 - VC++ makefiles and project files made (mostly) consistent
443 - wxSetCursorEvent added
444
445 wxGTK:
446
447 - wxFontMapper endless recursion bug (on some systems) fixed
448 - wxGTK synthesizes wxActivateEvents
449 - UpdateUI handlers may be used with wxTextCtrl
450
451 wxMotif:
452
453 - wxMenu::Enable works
454 - wxToolBar bugs fixed
455 - OGL samples made to work again
456
457 wxHTML:
458
459 - almost complete rewrite of wxHtmlHelpController,
460 including faster search, bookmarks, printing, setup dialog
461 and cross-platform binary compatible .cached files for faster
462 loading of large helpbooks, case insensitive search
463 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
464 - added support for charsets and <meta> tag
465 - added support for font faces and justified paragraphs,
466 taken some steps to prepare wxHTML for frames
467 - added dynamic pushing/poping of wxHtmlParser tag handlers
468 - improved HTML printing
469 - added extensive table of HTML characters substitutions (&nbsp; etc.)
470 - fixed wxHtmlWindow flickering, several minor bugfixes
471 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
472 fixed handling of relative and absolute font sizes in <font size>
473
474
475 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
476 change log.
477
478 2.1.0, b4, May 9th 1999
479 -----------------------
480
481 wxGTK:
482
483 - JPEG support added.
484 - Many fixes and changes not thought worth mentioning in this file :-)
485
486 wxMSW:
487
488 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
489 SetTabSize added.
490 - JPEG support added.
491 - Fixes for Cygwin compilation.
492 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
493 - Many fixes people didn't tell this file about.
494
495 wxMotif:
496
497
498 General:
499
500 - Some changes for Unicode support, including wxchar.h/cpp.
501
502
503 2.0.1 (release), March 1st 1999
504 -------------------------------
505
506 wxGTK:
507
508 - wxGLCanvas fixes.
509 - Slider/spinbutton fixes.
510
511 wxMSW:
512
513 - Fixed problems with <return> in dialogs/panels.
514 - Fixed window cursor setting.
515 - Fixed toolbar sizing and edge-clipping problems.
516 - Some makefile fixes.
517
518 wxMotif:
519
520 - None.
521
522 General:
523
524 - Added wxUSE_SOCKETS.
525 - More topic overviews.
526 - Put wxPrintPaperType, wxPrintPaperDatabase into
527 prntbase.h/cpp for use in non-PostScript situations
528 (e.g. Win16 wxPageSetupDialog).
529
530
531 Beta 5, February 18th 1999
532 --------------------------
533
534 wxGTK:
535
536 - wxExecute improved.
537
538 wxMSW:
539
540 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
541 expected).
542 - Changed VC++ makefiles (.vc) so that it's possible to have
543 debug/release/DLL versions of the library available simultaneously,
544 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
545 - Added BC++ 5 IDE files and instructions.
546 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
547 - Fixed focus-related crash.
548
549 wxMotif:
550
551 - Cured asynchronous wxExecute crash.
552 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
553
554 General:
555
556 - wxLocale documented.
557 - Added include filenames to class reference.
558 - wxHelpController API changed: SetBrowser becomes SetViewer,
559 DisplaySection works for WinHelp, help sample compiles under Windows
560 (though doesn't display help yet).
561
562 Beta 4, February 12th 1999
563 --------------------------
564
565 wxGTK:
566
567 - Miscellaneous fixes.
568
569 wxMSW:
570
571 - Makefiles for more compilers and samples; Cygwin makefiles
572 rationalised.
573 - Added VC++ project file for compiling wxWindows as DLL.
574
575 wxMotif:
576
577 - Added OnEraseBackground invocation.
578 - Added wxRETAINED implementation for wxScrolledWindow.
579 - Cured scrolling display problem by adding XmUpdateDisplay.
580 - Tried to make lex-ing in the makefile more generic (command line
581 syntax should apply to both lex and flex).
582 - Changed file selector colours for consistency (except for buttons:
583 crashes for some reason).
584 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
585 of malloc, which causes memory problems).
586
587 General:
588
589 - Further doc improvements.
590 - wxGenericValidator added.
591 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
592 automatically.
593
594 Beta 3, January 31st 1999
595 -------------------------
596
597 wxGTK:
598
599 - wxClipboard/DnD API changes (still in progress).
600 - wxToolTip class added.
601 - Miscellaneous fixes.
602
603 wxMSW:
604
605 - wxRegConfig DeleteAll bug fixed.
606 - Makefiles for more compilers.
607 - TWIN32 support added.
608 - Renamed VC++ makefiles from .nt to .vc, and
609 factored out program/library settings.
610 - Fixed wxIniConfig bug.
611
612 wxMotif:
613
614 - A few more colour fixes.
615 - wxGLCanvas and OpenGL samples working.
616 - Some compiler warnings fixed.
617 - wxChoice crash fix.
618 - Dialog Editor starting to work on Motif.
619
620 General:
621
622 - wxBusyCursor class added.
623 - Added samples/dde.
624 - More doc improvements, incl. expanding docs/html/index.htm.
625
626 Beta 2, January 1999
627 --------------------
628
629 wxGTK:
630
631 wxMSW:
632
633 - 16-bit BC++ compilation/linking works albeit without the resource system.
634
635 wxMotif:
636
637 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
638 the right place.
639 - Cured some widget table clashes.
640 - Added thread support (Robert).
641 - wxPoem sample now works.
642
643 General:
644
645 - Rearranged documentation a bit.
646 - Sash window uses area of first frame/dialog to paint over when drawing
647 the dragged sash, not just the sash window itself (it clipped to the right
648 or below).
649 - Made resource sample use the correct Cancel button id.
650 - Moved wxProp to main library (generic directory), created proplist
651 sample.
652 - Added bombs and fractal samples.
653
654 Beta 1, December 24th 1998
655 --------------------------
656
657 wxGTK:
658
659 - Various
660
661 wxMSW, wxMotif: not in sync with this release.
662
663
664 Alpha 18, December 29th 1998
665 ----------------------------
666
667 wxMSW:
668
669 - Win16 support working again (VC++ 1.5)
670 - Win16 now uses generic wxNotebook, wxListCtrl,
671 wxTreeCtrl -- more or less working now, although
672 a little work on wxNotebook is still needed.
673 Under 16-bit Windows, get assertion when you click
674 on a tab.
675 - Wrote 16-bit BC++ makefiles: samples don't yet link.
676 - Added CodeWarrior support to distribution courtesy
677 of Stefan Csomor.
678
679 wxMotif:
680
681 - Cured scrolling problem: scrollbars now show/hide themselves
682 without (permanently) resizing the window.
683 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
684 that disabled scrollbar paging.
685 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
686 colours correctly.
687 - Removed major bug whereby dialogs were unmanaged automatically
688 when any button was pressed.
689 - Fixed colours of wxWindow scrollbars, made list and text controls
690 have a white background.
691 - Fixed dialog colour setting.
692 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
693 they have sensible colours by default.
694 - Fixed a bug in wxStaticBox.
695 - Cured wxTreeCtrl bug: now works pretty well!
696 - Debugged DrawEllipticArc (a ! in the wrong place).
697 - Added SetClippingRegion( const wxRegion& region ).
698 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
699
700 Alpha 17, November 22nd 1998
701 ----------------------------
702
703 wxMSW:
704
705 - More documentation updates, especially for
706 wxLayoutWindow classes and debugging facilities.
707 - Changed wxDebugContext to use wxDebugLog instead
708 of wxTrace.
709 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
710 However, DLL support may be broken for BC++ since
711 VC++ 6 required changing of WXDLLEXPORT keyword
712 position.
713 - Numerous miscellaneous changes.
714
715 wxMotif:
716
717 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
718 were too buggy (probably not design for dynamic addition/removal of
719 child frames).
720 - Some improvements to the wxNotebook implementation.
721 - wxToolBar now uses a bulletin board instead of a form, in an attempt
722 to make it possible to add ordinary wxControls to a toolbar.
723 - Cured problem with not being able to use global memory operators,
724 by defining two more global operators, so that the delete will match
725 the debugging implementation.
726 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
727 global memory operators (usually OK) and #defining new to be
728 WXDEBUG_NEW (sometimes it might not be OK).
729 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
730 - Added a parent-existance check to popup menu code to make it not crash.
731 - Added some optimization in wxWindow::SetSize to produce less flicker.
732 It remains to be seen whether this produces any resize bugs.
733
734 It's a long time since I updated this file. Previously done:
735
736 - wxFrame, wxDialog done.
737 - wxScrolledWindow done (but backing pixmap not used at present).
738 - wxBitmap done though could be tidied it up at some point.
739 - Most basic controls are there, if not rigorously tested.
740 - Some MDI support (menus appear on child frames at present).
741 - wxNotebook almost done.
742 - wxToolBar done (horizontal only, which would be easy to extend
743 to vertical toolbars).
744
745 More recently:
746
747 - Colour and font changing done (question mark over what happens
748 to scrollbars).
749 - Accelerators done (for menu items and buttons). Also event loop
750 tidied up in wxApp so that events are filtered through ProcessXEvent.
751 - wxWindow::GetUpdateRegion should now work.
752
753 Alpha 16, September 8th 1998
754 ----------------------------
755
756 wxMSW:
757
758 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
759 sample.
760 - Guilhem's socket classes added, plus wxsocket sample.
761 - A few more makefiles added.
762 - GnuWin32/BC++ compatibility mods.
763 - Further doc updates.
764 - wxProp updates for correct working with wxGTK.
765
766 wxMotif:
767
768 - First start at Motif port.
769 - Made makefiles for wxMotif source directory and minimal sample.
770 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
771 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
772 wxMenu, wxMenuItem, wxMenuBar
773
774 Alpha 15, August 31st 1998
775 --------------------------
776
777 wxMSW:
778
779 - wxBitmap debugged.
780 - wxDC::GetDepth added.
781 - Contribution added whereby wxBitmap will be
782 converted to DC depth if they don't match.
783 - wxConfig API improved, documentation updated.
784 - Printing classes name conventions cleaned up.
785 - wxUpdateUIEvent now derives from wxCommandEvent
786 so event can travel up the window hierachy.
787
788 Alpha 14, July 31st 1998
789 ------------------------
790
791 wxMSW:
792
793 - Toolbar API has been simplified, and now
794 wxFrame::GetClientArea returns the available client
795 area when toolbar, status bar etc. have been accounted for.
796 wxFrame::CreateToolBar added in line with CreateStatusBar.
797 - Documentation updates, incl. for wxToolBar.
798 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
799 - Various additions from other folk, e.g. streams, wxConfig
800 changes, wxNotebook.
801 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
802
803 Alpha 13, July 8th 1998
804 -----------------------
805
806 wxMSW:
807
808 - Implemented wxPoint as identical to POINT on Windows, and
809 altered wxDC wxPoint functions to use wxPoint directly in
810 Windows functions, for efficiency.
811 - Cured wxASSERT bug in wxStatusBar95.
812 - #ifdefed out some bits in oleutils.cpp for compilers that
813 don't support it.
814 - Added some operators to wxPoint, wxSize.
815 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
816
817 Alpha 12, July 7th 1998
818 -----------------------
819
820 wxMSW:
821
822 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
823 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
824
825 Alpha 11, July 3rd 1998
826 -----------------------
827
828 wxMSW:
829
830 - Added thread.h, thread.cpp.
831 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
832 wxMenuBar.
833 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
834 SetTextColor to SetTextColour, and added or made public several
835 wxMenuItem accessors.
836 - Added two overloads to wxRegion::Contains. Added
837 wxRegion::IsEmpty for a more consistent naming convention.
838 - Added Vadim's wxDataObject and wxDropSource.
839 - ENTER/LEAVE events now work.
840 - Cured wxMemoryDC bug where the DC wasn't being deleted.
841 - Cured wxGauge SetSize major bugginess.
842 - Cured problem where if a GDI object was created on the stack,
843 then went out of scope, then another object was selected into
844 the DC, GDI objects would leak. This is because the assignment
845 to e.g. wxDC::m_pen would delete the GDI object without it first
846 being selected out of the DC. Cured by selecting the old DC object
847 first, then doing the assignment.
848 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
849 - Various other bug fixes and additions.
850
851 Generic:
852
853 - Major work on Dialog Editor (still plenty to go).
854 - Expanded documentation a bit more.
855
856 Alpha 10, May 7th 1998
857 ----------------------
858
859 wxMSW:
860
861 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
862 and wxIcon functions so that you can specify what size of
863 icon should be loaded. Probably will remain a Windows-specific thing.
864 - wxStatusBar95 now works for MDI frames.
865 - Toolbars in MDI frames now behave normally. They still
866 require application-supplied positioning code though.
867 - Changed installation instructions, makefiles and batch files
868 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
869 change to support Mingw32/EGCS. Bison now used by default.
870
871 Alpha 9, April 27th 1998
872 ------------------------
873
874 wxMSW:
875
876 - Cured bug in wxStatusBar95 that caused a crash if multiple
877 fields were used.
878 - Added Gnu-Win32 b19/Mingw32 support by changing resource
879 compilation and pragmas.
880 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
881 commands because VZ changed the id setting in wxMenu::MSWCommand.
882
883 Generic:
884
885 - Corrected some bugs, such as the wxModule compilation problem.
886 - Added Gnu-Win32 b19/Mingw32 support by changing resource
887 compilation and pragmas.
888 - Changed SIZEOF to WXSIZEOF.
889
890 Alpha 8, April 17th 1998
891 ------------------------
892
893 wxMSW:
894
895 - Added IsNull to wxGDIObject to check if the ref data is present or not.
896 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
897 some reason :-(
898 - Added wxJoystick class and event handling, and simple demo.
899 - Added simple wxWave class. Needs Stop() function.
900 - Added wxModule (module.h/module.cpp) to allow definition
901 of modules to be initialized and cleaned up on wxWindows
902 startup/exit.
903 - Start of Mingw32 compatibility (see minimal and dialogs samples
904 makefile.m95 files, and install.txt).
905 - Note: Windows printing has stopped working... will investigate.
906 VADIM'S CHANGES:
907 - Updated wxString: bug fixes, added wxArrayString, some
908 compatibility functions.
909 - Updated log.h/cpp, added wxApp::CreateLogTarget.
910 - file.h: new wxTempFile class.
911 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
912 - statbr95: wxStatusBar95 control.
913 - registry.h/cpp: wxRegKey class for Win95 registry.
914 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
915 - wxConfig and wxFileConfig classes.
916
917 Generic:
918
919 - Added src/other/png, src/other/zlib directories.
920 - Added samples/png.
921 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
922 Porters, please check particularly your wxTreeCtrl and wxListCtrl
923 header files.
924 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
925
926 Alpha 7, March 30th 1998
927 ------------------------
928
929 wxMSW:
930
931 - Added tab classes, tab sample.
932 - Now can return FALSE from OnInit and windows will be
933 cleaned up properly before exit.
934 - Improved border handling so panels don't get borders
935 automatically.
936 - Debugged MDI activation from Window menu.
937 - Changes to memory debug handling, including checking for
938 memory leaks on application exit - but see issues.txt for
939 unresolved issues.
940 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
941 to allow maintenance of an icon in the Windows 95 taskbar
942 tray area.
943 - Got MFC sample working (MFC and wxWindows in the same
944 application), partly by tweaking ntwxwin.mak settings.
945 - Got DLL compilation working again (VC++).
946 - Changed wxProp/Dialog Editor filenames.
947
948 Generic:
949
950 - Added tab classes, tab sample.
951 - Revised memory.cpp, memory.h slightly; memory.h now #defines
952 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
953 now checks for leaks on exit. Added memcheck sample.
954 See src/msw/issues.txt for more details.
955 - resource.h, resource.cpp changed to make wxDefaultResourceTable
956 a pointer. Now initialize resource system with
957 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
958 allow better control of memory.
959 - wxString now derives from wxObject, to enable memory leak
960 checking.
961 - Added some #include fixes in various files, plus changed
962 float to long in wxToolBar files.
963
964 Alpha 6, March 10th 1998
965 ------------------------
966
967 wxMSW:
968
969 - Found stack error bug - stopped unwanted OnIdle recursion.
970 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
971 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
972 check if the number of top-level windows is zero before
973 exiting. Also, wxApp::GetTopWindow will return either
974 m_topWindow or the first member of wxTopLevelWindows, so you
975 don't have to call wxApp::SetTopWindow.
976 - Added dynarray.h/dynarray.cpp (from Vadim).
977 - Added first cut at OLE drag and drop (from Vadim). dnd sample
978 added. Drop target only at this stage. See src/msw/ole/*.cpp,
979 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
980 Doesn't work with GnuWin32 - no appropriate headers e.g. for
981 IUnknown.
982 Doesn't work with BC++ either - crashes on program startup.
983 - Added Vadim's owner-draw modifications - will probably remain
984 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
985 - Added wxLB_OWNERDRAW for owner-draw listboxes.
986 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
987 Doesn't entirely work for WIN16.
988 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
989 can also be used as an argument to wxMenu::Append, not just for
990 internal implementation.
991 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
992 in makeg95.env, together with mingw32.bat). However, resource
993 binding is not working yet so most apps with dialogs crash.
994
995 Generic:
996
997 - Added Vadim's dynarray.h, dynarray.cpp.
998 - Added Vadim's menuitem.cpp.
999 - Added Windows-specific wxCheckListBox,
1000 owner-draw wxListBox, and drag-and-drop
1001 (see docs/msw/changes.txt).
1002
1003 Alpha 5, 14th February 1998
1004 --------------------------
1005
1006 wxMSW:
1007
1008 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1009 DISTRIBUTIONS. This change log will therefore now refer to
1010 the Windows-specific code only. See docs/changes.txt for generic
1011 changes.
1012 - Removed Windows-specific reference counting system (GDI
1013 resources were cleaned up in idle time) - minimal
1014 advantages now we have a wxWin reference counting system.
1015 - Added missing WXDLLEXPORT keywords so DLL compilation works
1016 again.
1017 - Removed most warnings for GnuWin32 compilation.
1018 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1019 e.g. wxDC.
1020
1021 Generic:
1022
1023 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1024 DISTRIBUTIONS. This change log will therefore now refer to
1025 the generic code only. See docs/msw/changes.txt for Windows-specific
1026 changes.
1027 - Readmes, change logs and installation files now go in
1028 platform-specific directories under docs, e.g. docs/msw,
1029 docs/gtk.
1030 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1031 created dynamically, not as a global object.
1032 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1033 - Changed names of some include/wx/generic headers to be
1034 consistent and to conform to gcc pragma conventions. Also
1035 changed choicesg.cpp to choicdgg.cpp.
1036 - Added gcc pragmas.
1037 - Added gtk inclusion in include/wx headers.
1038 - Added consistent file headings to source and headers.
1039 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1040 added a few references to wxTransString.
1041 - Added operator to wxTransString that converts automatically
1042 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1043 - samples/internat now works (minimally).
1044 - Added wxMouseEvent::GetPosition and
1045 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1046 - Made wxSize and wxRect contain longs not ints.
1047 - Cured some lemory leaks (thanks Vadim).
1048 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1049 will only keep processing OnIdle if it returns TRUE from
1050 MoreRequested.
1051
1052 Alpha 4, 31st January 1998
1053 --------------------------
1054
1055 All:
1056
1057 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1058 integer pointers, plus a version that returns a wxSize.
1059 - const keyword added to various wxDC functions.
1060 - Under Windows, wxDC no longer has any knowledge of whether
1061 an associated window is scrolled or not. Instead, the device
1062 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1063 - wxScrolledWindow applications can optionally override the virtual OnDraw
1064 function instead of using the OnPaint event handler. The wxDC passed to
1065 OnDraw will be translated by PrepareDC to reflect scrolling.
1066 When drawing outside of OnDraw, must call PrepareDC explicitly.
1067 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1068 scrolling toolbars.
1069 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1070 to help printing with multiple pages.
1071 - IPC classes given base classes (wxConnectionBase etc.) which
1072 define the API used by different implementations. DDE
1073 implementation updated to use these base classes.
1074 - wxHelpInstance now separated into wxHelpControllerBase (base
1075 for all implementations), wxWinHelpController (uses standard
1076 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1077 TCP/IP). There will be others eventually, such as
1078 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1079 - Added Vadim Zeitlin's wxString class plus
1080 internationalization code (gettext simulation, wxLocale, etc.).
1081 New files from Vadim:
1082 include\wx\string.h
1083 include\wx\debug.h
1084 include\wx\file.h
1085 include\wx\log.h
1086 include\wx\intl.h
1087 src\common\string.cpp
1088 src\common\log.cpp
1089 src\common\intl.cpp
1090 src\common\file.cpp
1091 No longer use GNU wxString files.
1092 - Split off file-related functions into include\wx\filefn.h and
1093 src\common\filefn.cpp.
1094 - Borland C++ support (WIN32) for main library and
1095 samples, using makefile.b32 files.
1096 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1097 including changes to defs.h.
1098 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1099 introduced.
1100 - Added wxShowEvent (generated when window is being shown or
1101 hidden).
1102 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1103 cured 16-bit problem with wxTextCtrl (removed global memory
1104 trick).
1105 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1106
1107 Alpha 3, September 1997
1108 -----------------------
1109
1110 All:
1111
1112 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1113 - Instigated new file hierarchy, split files and classes up more logically.
1114 - PrologIO and some other utils now put into core library.
1115 - Revamped print/preview classes, added wxPageSetupDialog.
1116 - Started documentation.
1117
1118 Alpha 2, 30th April 1997
1119 ------------------------
1120
1121 All:
1122
1123 - EVT_... macros now have at least one argument, for conformance
1124 with MetroWerks compiler.
1125 - Added ids to .wxr file format.
1126 - Got Dialog Editor compiled and running again but need
1127 to extend functionality to be in line with new controls.
1128 Added dialoged\test app to allow dynamic loading of .wxr files
1129 for testing purposes.
1130 - Rewrote wxBitmap to allow installable file type
1131 handlers.
1132 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1133 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1134 fully).
1135 - Added back wxRadioBox.
1136 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1137 a separate file.
1138
1139 Alpha 1, 5th April 1997
1140 -----------------------
1141
1142 Generic:
1143
1144 At this point, the following has been achieved:
1145
1146 - A lot, but not all, of the code has been revamped for better
1147 naming conventions, protection of data members, and use of
1148 wxString instead of char *.
1149 - Obsolete functionality deleted (e.g. default wxPanel layout,
1150 old system event system) and code size reduced.
1151 - Class hierarchy changed (see design doc) - base classes such
1152 as wxbWindow now removed.
1153 - No longer includes windows.h in wxWin headers, by using stand-in
1154 Windows types where needed e.g. WXHWND.
1155 - PrologIO revised.
1156 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1157 MDI is now achived using separate classes, not window styles.
1158 - wxSystemSettings added, and made use of to reflect standard
1159 Windows settings.
1160 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1161 settings mucho rationalised.
1162 - All windows are now subclassed with the same window proc to make
1163 event handling far more consistent. Old internal wxWnd and derived
1164 classes removed.
1165 - API for controls revised, in particular addition of
1166 wxValidator parameters and removal of labels for some controls.
1167 - 1 validator written: see examples/validate.
1168 - Event table system introduced (see most samples and
1169 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1170 made more flexible, with Push/PopEventHandler allowing a chain
1171 of event handlers.
1172 - wxRadioBox removed - will be added back soon.
1173 - Toolbar class hierarchy revised:
1174 wxToolBarBase
1175 wxToolBarSimple (= old wxToolBar)
1176 wxToolBar95 (= old wxButtonBar under Win95
1177 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1178 - Constraint system debugged somewhat (sizers now work properly).
1179 - wxFileDialog, wxDirDialog added; other common dialogs now
1180 have class equivalents. Generic colour and font dialogs
1181 rewritten to not need obsolete panel layout.
1182 - .wxr resource system partially reinstated, though needs
1183 an integer ID for controls. Hopefully the resource system
1184 will be replaced by something better and more efficient
1185 in the future.
1186 - Device contexts no longer stored with window and accessed
1187 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1188 variables instead.
1189 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1190 determines whether labels are shown. Other Win95-specific flags
1191 introduced, e.g. for showing ticks.
1192 - Styles introduced for dealing with 3D effects per window, for
1193 any window: all Win95 3D effects supported, plus transparent windows.
1194 - Major change to allow 3D effect support without CTL3D, under
1195 Win95.
1196 - Bitmap versions of button and checkbox separated out into new
1197 classes, but unimplemented as yet because I intend to remove
1198 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1199 - utils/wxprop classes working (except maybe wxPropertyFormView)
1200 in preparation for use in Dialog Editor.
1201 - GNU-WIN32 compilation verified (a month or so ago).
1202
1203