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