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