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