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