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