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