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