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