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