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