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