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