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