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