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