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