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