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