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