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