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