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