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