]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
OS/2 PM does not yet support toggle button.
[wxWidgets.git] / docs / changes.txt
1 ----------------------------
2 wxWidgets 2.5/2.6 Change Log
3 ----------------------------
4
5 INCOMPATIBLE CHANGES SINCE 2.4.x
6 ================================
7
8 Please take a few minutes to read the following list, especially
9 paying attention to the most important changes which are marked
10 with '!' in the first column.
11
12 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_4
13 is defined to 1 if you wish to retain maximal compatibility with 2.4
14 series.
15
16 ! windows are no longer fully repainted when resized, use new style
17 wxFULL_REPAINT_ON_RESIZE to force this (wxNO_FULL_REPAINT_ON_RESIZE stll
18 exists but doesn't do anything any more, this behaviour is default now)
19
20
21 - no initialization/cleanup can be done in wxApp/~wxApp because they are
22 now called much earlier/later than before; please move any exiting code
23 from there to wxApp::OnInit()/OnExit()
24 - also, OnExit() is not called if OnInit() fails
25 - finally the program exit code is OnRun() return value, not OnExit() one
26 - wxTheApp can't be assigned to any longer, use wxApp::SetInstance() instead
27 - wxFileType::GetIcon() returns wxIconLocation, not wxIcon
28 - wxColourDatabase is not a wxList any more, use AddColour to add new colours
29 - wxWindow::Clear() is now called ClearBackground()
30 - pointer returned by wxFont::GetNativeFontInfo() must not be deleted now
31 - wxMouseEvent::Moving() doesn't return true if mouse is being dragged any more
32 - (most) controls now inherit parents colours by default, override
33 ShouldInheritColours() to return false if you don't want this to happen
34 - wxApp::SendIdleEvent() now takes 2 arguments
35 - wxTabView::GetLayers() changed return type from wxList& to wxTabLayerList&
36 (when WXWIN_COMPATIBILITY_2_4 == 0)
37 - wxID_SEPARATOR (id used for the menu separators) value changed from -1 to -2
38 - wxGetNumberFromUser() is now in separate wx/numdlg.h, not wx/textdlg.h
39 - wxChoice and wxCombobox now handle their size in the same way as in all the
40 other ports under MSW, new code is actually correct but different from weird
41 stuff they were doing before so the behaviour of your programs might change
42 - wxTaskBarIcon objects must now be destroyed before the application can exit.
43 Previously, the application terminated if there were no top level windows;
44 now it terminates if there are no top level windows or taskbar icons left.
45 - wxZlibInputStream is not by default compatible with the output of the
46 2.4.x version of wxZlibOutputStream. However, there is a compatibilty mode,
47 switched on by passing wxZLIB_24COMPATIBLE to the constructor.
48 - when WXWIN_COMPATIBILITY_2_4 == 0 wxHashTable uses a new implementation
49 not using wxList keyed interface (the same used when wxUSE_STL == 1),
50 the only incompatibility being that Next() returns a wxHashTable::Node*
51 instead of a wxNode*.
52 - non-const wxDC methods GetBackground(), GetBrush(), GetFont() and GetPen()
53 don't exist any more, please fix your code -- it never worked correctly
54 anyhow if you modified the objects returned by these methods so you should
55 simply switch to using const methods.
56
57 wxTaskBarIcon must be explicitly destroyed now, otherwise the application
58 won't exit even though there are no top level windows
59
60
61 DEPRECATED METHODS SINCE 2.4.x
62 ==============================
63
64 Deprecated methods may still be used but will disappear in future wxWidgets
65 versions, please update your code to not use them.
66
67 - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
68 - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear]
69 - wxSizer::Set/GetOption(): use Set/GetProportion() instead
70 - wxKeyEvent::KeyCode(): use GetKeyCode instead
71 - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead
72 - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead
73 - wxListBase::operator wxList&(): use typesafe lists instead
74 - wxTheFontMapper: use wxFontMapper::Get() instead
75 - wxStringHashTable: use wxHashMap instead
76 - wxHashTableLong: use wxHashMap instead
77 - wxArrayString::GetStringArray: use wxCArrayString or alternative wxWidgets
78 methods taking wxArrayString
79 - wxArrayString::Remove(index, count): use RemoveAt instead
80 - wxTreeItemId conversion to long is deprecated and shouldn't be used
81 - wxTreeCtrl::GetFirst/NextChild() 2nd argument now has type wxTreeItemIdValue
82 and not long, please change declarations of "cookie"s in your code
83 accordingly -- otherwise your code won't work on 64 bit platforms
84 - [MSW only] wxWindow::GetUseCtl3D(), GetTransparentBackground() and
85 SetTransparent() as well as wxNO_3D and wxUSER_COLOURS styles
86 - wxList keyed interface: use wxHashMap instead
87 - wxColourDatabase::FindColour(): use Find() instead (NB: different ret type)
88 - wxHashTable::Next: use wxHashTable::Node* or
89 wxHashTable::compatibility_iterator to store the return
90 value
91 - wxWave class; use wxSound instead
92
93
94 OTHER CHANGES
95 =============
96
97 2.5.2
98 -----
99
100 All:
101
102 - Hindi translations added (Dhananjaya Sharma)
103 - wxDynamicCast() now uses static_cast<wxObject *> internally and so using it
104 with anything not deriving from wxObject will fail at compile time (instead
105 of run-time) now
106
107 All (GUI):
108
109 - wxHtmlWindow now delays image scaling until rendering,
110 resulting in much better display of scaled images
111 - Added UpdateSize to wxSplitterWindow to allow layout while hidden
112 - implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock)
113 - support for KOI8-U encoding added (Yuriy Tkachenko)
114 - The old wxADJUST_MINSIZE behaviour is now the default behaviour for
115 sizer items that are windows. This means that GetAdjustedBestSize
116 will now be called by default to determine the minimum size that a
117 window in a sizer should have. If you want to still use the initial
118 size (and not the BestSize) then use the wxFIXED_MINSIZE flag. When
119 windows are added to a sizer their initial size is made the window's
120 min size using SetSizeHints, and calls to wxSizer::SetItemMinSize
121 are also forwarded to SetSizeHints for window items.
122 - added wxRegEx::GetMatchCount()
123 - it is now possible to display images in wxHtmlListBox
124
125 wxMSW:
126
127 - wxWindow::Freeze()/Thaw() can now be nested
128 - Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
129 XP theming (some applications look bad without 3D borders)
130 - wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more
131 - wxRegConf couldn't read global settings without admin privileges and didn't
132 even try to do it by default -- now it does
133 - wxTaskBarIcon must be explicitly destroyed now, otherwise the application
134 won't exit even though there are no top level windows
135 - wxFileName::GetModificationTime() works with opened files too now
136
137 wxMotif:
138
139 - removed wxMenuItem::DeleteSubMenu()
140 - wxButtons use Motif default size, which is smaller than it used to be
141 and closer to wxMSW/wxGTK look. This can be disabled by setting
142 motif.largebuttons system option to 1 (see wxSystemOptions).
143
144 wxUniv/X11:
145
146 - implemented DrawRoundedRectangle() (clawghoul)
147
148 wxHTML:
149
150 - improved tables and lists layout algorithms (Tim Kosse)
151 - <div> handling fix (Xavier Nodet)
152
153 Unix:
154 - fixed priorities of mailcap entries (David Hart)
155 - added "wx-config --libs=std,<extra>" syntax (i.e. support for "std")
156
157
158 2.5.1
159 -----
160
161 All:
162
163 - event table macros now do some minimal type safety checks (Michael Sögtrop)
164 - added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell)
165 - wxDateTime::ParseDateTime() implemented (Linus McCabe)
166 - wxHTTP::GetResponse() added (David Nock)
167 - added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
168 - added wxTextInputStream::ReadChar() (M.J.Wetherell)
169 - added translation to Afrikaans (Petri Jooste)
170 - Spanish translations updated (Javier San Jose)
171 - added gettext plural forms support to wxLocale (Michael N. Filippov)
172 - wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
173 - wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works
174 - check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner)
175 - when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap
176 (as in 2.5.0).
177 - added some extra convenience functions to wxRect such as
178 GetBottomRight (Hajo Kirchhoff)
179 - changed built-in regex library to a Unicode-compatible version based
180 on TCL sources (Ryan Norton, M. J. Wetherell)
181 - added extra convenience functions to wxPoint for adding a
182 wxSize (Wlodzimierz Skiba)
183 - intermediate wxIPaddress class added to prepare for
184 wxIPV6address (Ray Gilbert)
185 - added overloaded constructors and Create() methods taking wxArrayString
186 for wxChoice, wxComboBox, wxListBox, wxRadioBox, wxCheckListBox,
187 wxSingleChoiceDialog, wxMultipleChoiceDialog
188 - renamed wxWave class to wxSound
189
190 All (GUI):
191
192 - added wxListBook control
193 - added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth)
194 - added some support for C++ exceptions in the library (do read the manual!)
195 - added wxListCtrl::GetViewRect()
196 - added wxTextCtrl::MarkDirty()
197 - wxToolBar::ToggleTool() now works for radio buttons (Dag Ågren)
198 - wxListCtrl now sends an END_LABEL event if editing was cancelled, too
199 - bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett)
200 - status text is now restored after wxMenu help is shown in it
201 - bug in wxWindow::RemoveEventHandler() fixed (Yingjun Zhang)
202 - make it possible to use wxRTTI macros with namespaces (Benjamin I. Williams)
203 - wxColourDatabase API now uses objects instead of pointers
204 - added resolution option to JPEG image handler (Jeff Burton)
205 - added wxCalendarEvent::SetDate, wxCalendarEvent::SetWeekDay
206 - wxGenericDirCtrl now accepts multiple wildcards
207 - added focus event forwarding to wxGrid (Peter Laufenberg)
208 - fixed scrollbar problem in wxGrid (not showing scrollbars
209 when sizing smaller) (Shane Harper)
210 - dbbrowse demo fixed for Unicode (Wlodzimierz Skiba)
211 - added wxStatusBar support to XRC (Brian Ravnsgaard Riis)
212 - wxMenu::Append and etc. return a pointer to the wxMenuItem that was
213 added or inserted, or NULL on failure.
214 - using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate new id
215 - added option to generate C++ headers to wxrc utility (Eduardo Marques)
216 - added wxDC::DrawPolyPolygon() for MSW/PS (Carl-Friedrich Braun)
217 - wxBufferedDC now allows to preserve the background and is documented
218 - added wxDC::GetPartialTextExtents
219
220 wxMSW:
221
222 - wxWidgets now builds under Win64
223 - fixed DDE memory leaks
224 - fixed wxTE_*WRAP styles handling
225 - wxTextCtrl::GetValue() works with text in non default encoding
226 - changed wxCrashReport to generate minidumps instead of text files
227 - wxRadioButtons are now checked when they get focus (standard behaviour)
228 - several fixes to owner drawn menu items (Christian Sturmlechner)
229 - wxGauge now supports full 32 bit range (Miroslav Rajcic)
230 - make it possible to give focus to the notebook tabs (Hajo Kirchhoff)
231 - MDI child frames are not always resizeable any more (Andrei Fortuna)
232 - fixed enumerating of entries/groups under '/' in wxRegConfig
233 - added wxSYS_ICONTITLE_FONT (Andreas Pflug)
234 - added wxPATH_NORM_SHORTCUT to wxFileName
235 - wxComboBox::GetValue within a wxEVT_COMMAND_TEXT_UPDATED event
236 should now pass the correct value even if the handler for
237 wxEVT_COMMAND_COMBOBOX_SELECTED changed the selection
238 - wxFileDialog now returns correct filter index for multiple-file dialogs
239 - added wxTextCtrl::HitTest()
240 - experimental wxURL implementation using WinInet functions (Hajo Kirchhoff)
241 - fixed several bugs in wxNotebook with wxNB_MULTILINE style
242 - accelerators are now initially hidden if appropriate (Peter Nielsen)
243 - background colour of a wxComboBox may now be set
244 - fixed wxListCtrl::GetItemText/BackgroundColour()
245 - Esc can now be used to close menus in the dialogs (Hartmut Honisch)
246 - Added msw.remap system option so colourful toolbar buttons
247 aren't mangled if you set it to 0. The default is 1
248 - Toolbar buttons are now centred if the bitmap size is smaller
249 than the specified default size
250 - Fixed a bug in wxSpinCtrl::DoGetBestSize that would make wxSpinCtrl too tall
251
252 wxGTK:
253
254 - fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas)
255 - fix for crash when using user-dashed lines (Chris Borgolte)
256 - fixed wxChoice::Delete() in presence of client data
257 - allow calling wxWindow::SetFont if window not yet created
258 - use same average character width as other ports when calculating dialog units
259 - fixed mouse wheel handling under GTK2 (Hugh Fisher)
260 - wxNotebook::HitTest() implemented (Daniel Lundqvist)
261 - memory leaks fixes in wxFileDialog (John Labenski)
262 - don't drop click events from triple clicks (Frode Solheim)
263
264 wxMac:
265
266 - use same average character width as other ports when calculating dialog units
267 - implemented handling of mouse wheel
268 - fix for long file names (longer than 32 characters) in file dialogs
269 - use unix sockets for Mach-o builds
270
271 wxMotif:
272
273 - look for Motif 2.1 headers before Motif 1.2 ones in configure
274
275 wxHTML:
276
277 - wxHtmlHelpController now supports compressed MS HTML Help files (*.chm)
278 on Unix (Markus Sinner)
279
280 Unix:
281
282 - added XFree86 resolution changing using xf86vidmode extensions (Ryan Norton)
283 - implemented asynchronous playback in wxSound and added SDL backend in
284 addition to existing OSS one
285 - it is now possible to send PostScript to any output stream (Zoltan Kovacs)
286
287
288 2.5.0
289 -----
290
291 All:
292
293 - It is now possible to build several smaller libraries instead of single
294 huge wxWidgets library; wxBase is now dependency of GUI ports rather then
295 separately compiled library
296 - added wxDateSpan::operator==() and !=() (Lukasz Michalski)
297 - added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
298 - use true/false throughout the library instead of TRUE/FALSE
299 - wxStopWatch::Start() resumes the stop watch if paused, as per the docs
300 - added wxDirTraverser::OnOpenError() to customize the error handling
301 - added wxArray::SetCount()
302 - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
303 by default in Unicode mode
304 - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
305 - added wx/math.h (John Labenski)
306 - added Catalan translations (Pau Bosch i Crespo)
307 - added Ukrainian translations (Eugene Manko)
308 - fixed bug with deleting entries at root level in wxFileConfig
309 - chkconf.h now includes platform-specific versions (for MSW
310 and Mac) which contain some tests that were in setup.h
311 - added event sink argument to wxEvtHandler::Connect()
312 - added support for POST method and alt ports to wxHTTP (Roger Chickering)
313 - added wxSocket::IPAddress() (Chris Mellon)
314 - wxDataStreams can read/write many elements at once (Mickael Gilabert)
315 - added wxRecursionGuard class
316 - added wxThreadHelper class (Daniel Howard)
317 - Added STL support (--enable-stl for configure, wxUSE_STL in setup.h).
318 When enabled, wxString will derive from std::string, wxArray from,
319 std::vector, wxList from std::list. In addition wxHashTable will be
320 implemented in terms of wxHashMap.
321 - Added wxList::compatibility_iterator. Can be used like wxNode* (except
322 it can't be delete()d). It permits writing code which will work
323 both with wxUSE_STL==1 and wxUSE_STL==0.
324
325 wxBase:
326
327 - added Watcom makefiles
328 - fixed bug with searching in sorted arrays (Jürgen Palm)
329
330 All GUI ports:
331
332 - added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes
333 - added wxListbook
334 - added alpha channel support to wxImage
335 - added wxRenderer class allowing to customize the drawing of generic controls
336 - added wxCLOSE_BOX style for dialogs and frames
337 - added wxSplitterWindow and wxWizard handlers to XRC
338 - wxWizard is now sizer-friendly and may be made resizeable (Robert Vazan)
339 - added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski)
340 - added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski)
341 - implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber)
342 - improved contrib/utils/convertrc parsing (David J. Cooke)
343 - fixed handling of URLs and filenames in wxFileSystem
344 - implemented alignment for wxGrid bool editor and renderer
345 - support wxListCtrl columns alignment for all platforms and not just MSW
346 - added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski)
347 - added wxTB_HORZ_TEXT style for MSW and GTK (Axel Schlueter)
348 - fixed user dash handling for MSW and GTK (Ken Edwards)
349 - WXR resources can now be used in Unicode builds
350 - it is now possible to use several wxFileHistory objects in the same menu
351 by giving them different base IDs (Dimitri Schoolwerth)
352 - Added wxTLW::SetShape with implementations for wxMSW and wxGTK (so far)
353 - FL: rmoved const from EnableTool parameters
354 - FL: signal child window when toolbar is closed
355 - In various places, changed tests for pathsep on last char of string to call
356 wxEndsWithPathSeparator(s)
357 - Added to defs.h a couple of macros (wxPtrToULong & wxULongToPtr)
358 - Minor improvements to document/view framework, including
359 delayed deletion of a document (until after the user has chosen
360 a new document), and more intelligent addition of filenames to
361 the file history, including not adding filenames if not using the
362 default extension for the template
363 - sped up wxImage::Scale using fixed point arithmetic (Wade Brainerd)
364 - Added BLOB support to wxDB (John Skiff)
365 - wxWizard now validates when pressing Back or Next
366 - Implemented wxNotebook::DoGetBestSize so Fit now works
367 - Added FindItemByPosition to wxMenu
368 - wxTimer now derives from wxEvtHandler and is its own owner object by default
369 - Extended wxTextAttr and added wxTextCtrl::GetStyle stub
370 to allow better rich text support.
371 - implemented wxFlexGridSizer::Show() (Wade Brainerd)
372 - Added m_ prefix to wxColourData and wxFontData members
373 - Added wxHtmlPrintout::AddFilter so HTML printing can be subject to
374 custom filters as well as HTML viewing.
375 - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
376 - wxWindow::OnInternalIdle is now used in all ports, and ensures that
377 user OnIdle events do not interfere with crucial internal processing.
378 - wxWindow::UpdateWindowUI is now a documented function that
379 sends wxUpdateUIEvents, and can be overridden. It has a helper function
380 DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
381 - Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
382 CanUpdate, to assist with optimising update event frequency.
383 - Added functions to wxIdleEvent: Set/GetMode, CanSend, to
384 determine whether a window should receive idle events.
385 - Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
386 styles for use with conservative idle and update event modes.
387 - send menu update events only when a menu is about to be used (MSW/GTK)
388 - improved event processing performance (Hans Van Leemputten)
389 - added wxMirrorDC class
390 - printing improvements: GetPageInfo() gets called after the DC has
391 been set and after OnPreparePrinting() has been called so it can
392 report the number of pages accurately; doesn't try to set
393 number of pages in print dialog, in common with other Windows apps;
394 wxHTML easy printing's preview shows number of pages
395 correctly; preview scrollbars are set correctly; keyboard navigation
396 improved
397
398 Unix:
399
400 - fixed compilation on systems with zlib installed but < 1.1.3 version
401 - fixed compilation on Solaris 7 with large files support enabled
402 - added wxTaskBarIcon implementation for X11
403 - added support for GNU/Hurd in configure
404 - wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug)
405
406 Generic controls:
407
408 - implemented wxListCtrl::Refresh() (Norbert Berzen)
409 - support adding/removing columns dynamically (Donald C. Taylor)
410 - wxToolBarSimple, property list classes, wxTreeLayout moved
411 to contrib/src/deprecated
412
413 wxGTK:
414
415 - added support for label mnemonics to GTK+2 build (Michael Moss)
416 - added native wxMessageDialog implementation for GTK+2 build
417 - fixed wxMenu::Remove (John Skiff and Benjamin Williams)
418 - made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace
419 - fixed wxTopLevelWindow::ShowFullScreen to work with kwin, IceWM and
420 window managers that support _NET_WM_STATE_FULLSCREEN
421 - added wxEVT_MENU_OPEN event generation
422 - fixed bug in generic file selector causing incomplete file extensions to
423 be appended to filenames with no extension
424 - added wxTextCtrl::SetSelection implementation for GTK+ 2
425 - fixed wxTextCtrl::IsEditable() for GTK+ 2
426 - fixed wxStaticText alignment for GTK+ 2 (Kevin Hock)
427 - don't consume 100% CPU when showing a poup menu
428
429 wxMac:
430
431 - generate wxEVT_SCROLL_THUMBRELEASE and wxEVT_SCROLLWIN_THUMBRELEASE events
432 - generate wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE events
433
434 wxMSW:
435
436 - possibility to use DIBs for wxBitmap implementation (Derry Bryson)
437 - added wxCrashReport
438 - wxStaticBitmap doesn't stretch its bitmap any longer (like other ports)
439 - support for accelerator keys in the owner drawn menus (Derry Bryson)
440 - wxCaret::SetSize() doesn't hide the caret any longer as it used to
441 - wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more
442 - fixed bugs in wxThread::Wait() and IsAlive()
443 - fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE
444 - fixes for compilation with OpenWatcom and DigitalMars compilers
445 - fixed wxStaticText best size calculation (was wrong by '&' width)
446 - fixed calling wxFrame::Maximize(FALSE) before the window is shown
447 - added wxNotebook::HitTest() (Otto Wyss)
448 - libraries built with makefile.g95 have a _min or _cyg suffix (MinGW/Cygwin)
449 - when using DLL, wxLocalFSHandler was not being exported
450 - fixed problem with wxEvtHandler object not removed from wxPendingEvents
451 - Windows XP manifest is now included in wx.rc; it is no longer neccessary
452 to ship .exe.manifest file with applications to support XP themes
453 - wxLocale::Init no longer reports error if trying to set Unicode-only locale
454 or if user's default locale is Unicode-only
455 - improved border handling under Windows XP
456 - partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME
457 enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells
458 wxWidgets to use the theme tab colour for control backgrounds.
459 - disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP
460 - fixed release mode build with VC 7.x (Martin Ecker)
461 - added support for wxALWAYS_SHOW_SB style
462 - you don't need to add opengl32.lib when using VC++ now (David Falkinder)
463
464 wxMotif:
465
466 - made wxFileDialog behaviour with complex wildcards more sensible (it still
467 does not support all the features other ports do); refer to wxFileDialog
468 documentation for a detailed explanation
469 - implemented wxWakeUpIdle
470 - for Motif 2.0, used the native combobox widget instead of the GPL'd
471 xmcombo; xmcombo is still used for Motif 1.x and Lesstif when compiled
472 with Motif 1.x compatibility
473 - implemented wxToggleButton
474 - wxRadioBox and wxStaticBox now use the default shadow (border) style
475 instead of a sunken border
476 - implemented wxBitmapDataObject
477 - finished wxClipboard implementation
478
479 wxUniv:
480
481 - controls in toolbars now supported
482
483 wxHTML:
484
485 - added text selection to wxHtmlWindow
486 - added SetFonts to HTML printing classes (Adrian Philip Look)
487 - it is now possible to force page break when printing by inserting
488 <div style="page-break-before:always"> into the markup (Greg Chicares)
489 - wxHtmlWindow now uses double buffering to prevent flicker
490
491
492 OLD CHANGES
493 ===========
494
495 INCOMPATIBLE CHANGES SINCE 2.2.x
496 ================================
497
498 Please take a few minutes to read the following list, especially
499 paying attention to the most important changes which are marked
500 with '!' in the first column.
501
502 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_2
503 is defined to 1 if you wish to retain maximal compatibility with 2.2
504 series -- however you are also strongly encouraged to try to compile
505 your code without this define as it won't be default any longer in
506 2.6 release.
507
508 NB: if you want to build your program with different major versions
509 of wxWidgets you will probably find the wxCHECK_VERSION() macro
510 (see the documentation) useful.
511
512
513 wxBase:
514
515 ! wxArray<T>::Remove(size_t) has been removed to fix compilation problems
516 under 64 bit architectures, please replace it with RemoveAt() in your
517 code.
518
519 ! wxArray<T> macros have been changed to fix runtime problems under 64 bit
520 architectures and as a side effect of this WX_DEFINE_ARRAY() can only be
521 used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the
522 arrays containing non-pointers.
523
524 - wxObject::CopyObject() and Clone() methods were removed because they
525 simply don't make sense for all objects
526
527 - wxEvent now has a pure virtual Clone() method which must be implemented
528 by all derived classes, if you have user-defined event classes please
529 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
530
531 - small change to wxStopWatch::Pause() semantics, please see the documentation
532
533 - unlikely but possible incompatibility: the definition of TRUE has changed
534 from "1" to "(bool)1" (and the same thing for FALSE), so the code which
535 could be erroneously compiled previously such as doing "return FALSE" from
536 a function returning a pointer would stop compiling now (but this change
537 is not supposed to have any effects on valid code)
538
539 - another minor change: wxApp::OnAssert() has a new "cond" argument, you
540 must modify YourApp::OnAssert() signature if you were using it to override
541 the default assert handling.
542
543 All (GUI):
544
545 ! the event type constants are not constants any more but are dynamically
546 allocated during run-time which means that they can't be used as case labels
547 in the switch()es, you must rewrite them to use if()s instead
548
549 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
550 but this is strongly discouraged, please consider changing your code
551 instead!
552
553 ! wxDialog does not derive from wxPanel any longer - if you were using it in
554 your code, please update it. The quick fix for the most cases is to replace
555 the occurrences of wxPanel with wxWindow.
556
557 ! if you handle (and don't skip) EVT_KEY_DOWN, the EVT_CHAR event is not
558 generated at all, so you must call event.Skip() in your OnKeyDown() if
559 you want to get OnChar() as well
560
561 - in general, the key events sent for the various non ASCII key combinations
562 have been changed to make them consistent over all supported platforms,
563 please see the wxKeyEvent documentation for details
564
565 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
566 have changed (to fix some unfortunate clashes), please check your code to
567 ensure that no tests for wxYES or wxNO are broken: for example, the following
568 will *NOT* work any longer:
569
570 if ( flags & wxYES_NO )
571 ... do something ...
572 if ( flags & wxYES )
573 ... do something else ...
574
575 - static wxWizard::Create() doesn't exist any more, the wizards are created
576 in the same way as all the other wxWindow objects, i.e. by directly using
577 the ctor
578
579 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
580
581 - wxGridCellAttrProvider class API changed, you will need to update your code
582 if you derived any classes from it
583
584 - wxImage::ComputeHistogram()'s signature changed to
585 unsigned long ComputeHistogram(wxImageHistogram&) const
586
587 - wxEvtHandler cannot be copied/assigned any longer - this never worked but
588 now it results in compile-time error instead of run-time crashes
589
590 - WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events,
591 they only generate EVT_KEY_DOWN/UP() ones
592
593 - the dialogs use wxApp::GetTopWindow() as the parent implicitly if the
594 parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this
595 from happening
596
597 - several obsolete synonyms are only retained in WXWIN_COMPATIBILITY_2_2 mode:
598 for example, use wxScrolledWindow::GetViewStart() now instead of ViewStart()
599 and GetCount() instead of Number() in many classes
600
601 - wxCmdLineParser does not use wxLog to output messages anymore.
602 to obtain the previous behaviour, add
603 wxMessageOutput::Set(new wxMessageOutputLog); to your program
604 (you will need to #include <wx/msgout.h>)
605
606 wxMSW:
607
608 ! build system changed: setup.h is not a static file in include/wx any more
609 but is created as part of the build process under lib/<toolkit>/wx
610 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
611 the include path in your make/project files appropriately. Furthermore,
612 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
613 class. You'll need to remove all references to xpm.lib from your
614 make/project files. Finally, the library names have changed as well and now
615 use the following consistent naming convention: wxmsw[ver][u][d].(lib|dll)
616 where 'u' appears for Unicode version, 'd' -- for the debug one and version
617 is only present for the DLLs builds.
618
619 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
620 style to avoid it
621
622 - all overloads of wxDC::SetClippingRegion() combine the given region with the
623 previously selected one instead of replacing it
624
625 - wxGetHomeDir() uses HOME environment variable and if it is set will not
626 return the programs directory any longer but its value (this function has
627 never been meant to return the programs directory anyhow)
628
629 - wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file
630 anymore. The file was removed from wxMSW
631
632
633 Unix ports:
634
635 ! You should use `wx-config --cxxflags` in your makefiles instead of
636 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
637 and the compiler flags for C++ files only, CFLAGS should still be used
638 to compile pure C files.
639
640
641 wxThread and related classes:
642
643 - The thread-related classes have been heavily changed since 2.2.x versions
644 as the old code had many serious problems. This could have resulted in
645 semantical changes other than those mentioned here, please review use of
646 wxThread, wxMutex and wxCondition classes in your code.
647
648 ! wxCondition now *must* be used with a mutex, please read the (updated) class
649 documentation for details and revise your code accordingly: this change was
650 unfortunately needed as it was impossible to ensure the correct behaviour
651 (i.e. absense of race conditions) using the old API.
652
653 - wxMutex is not recursive any more in POSIX implementation (it hasn't been
654 recursive in 2.2.x but was in 2.3.1 and 2.3.2), please refer to the class
655 documentation for the discussion of the recursive mutexes.
656
657 - wxMutex::IsLocked() doesn't exist any more and should have never existed:
658 this is was unique example of a thread-unsafe-by-design method.
659
660
661 OTHER CHANGES
662 =============
663
664 2.4.0
665 -----
666
667 wxMSW:
668
669 - fixed loss of client data in wxChoice::SetString()
670
671 2.3.4
672 -----
673
674 All:
675
676 - added (partial) Indonesian translations (Bambang Purnomosidi D. P.)
677 - added wxSizer::Show()/Hide() (Carl Godkin)
678 - fixed bugs in wxDateTime::SetToWeekDay()/GetWeek()
679
680 Unix (Base/GUI):
681
682 - minor OpenBSD compilation/linking fixes, now builds OOB under OpenBSD 3.1
683 - don't include -I/usr/include nor -I/usr/local/include in wx-config output
684 - shared library symbols are now versioned on platforms that support it (Linux)
685
686 wxGTK:
687 - Further work for GTK 2.0 and Unicode support.
688 - Addition of native frame site grip.
689
690 wxX11:
691 - Unicode support through Pango library.
692
693 wxMSW:
694
695 - fixed crashes in wxListCtrl under XP
696 - added context menu for rich edit wxTextCtrl
697
698 wxHTML:
699
700 - fixed wxHTML to work in Unicode build
701
702 2.3.3
703 -----
704
705 wxBase:
706
707 - building wxBase with Borland C++ is now supported (Michael Fieldings)
708 - wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram)
709 - fixes to the command line parsing error and usage messages
710 - modified wxFileName::CreateTempFileName() to open the file atomically
711 (if possible) and, especially, not to leak the file descriptors under Unix
712 - memory leak in wxHTTP fixed (Dimitri Schoolwerth)
713 - fixes to AM_PATH_WXCONFIG autoconf macro
714 - added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
715 after (non standard) STL hash_map
716 - wxLocale now works in Unicode mode
717 - wxLocale can now load message catalogs in arbitrary encoding
718 - added wxShutdown() function (Marco Cavallini)
719 - added wxEXPLICIT macro
720 - IPC classes improved and memory leaks fixed (Michael Fielding).
721 Global buffer removed, duplication in docs removed
722 - debug new/free implementations made thread-safe
723
724 Unix (Base/GUI):
725
726 - wxWidgets may be built using BSD and Solaris (and possibly other) make
727 programs and not only GNU make
728 - wxTCP-based IPC classes now support communicating over Unix domain sockets
729 - wxWidgets may be built as a dynamic shared library under Darwin / Mac OS X
730 lazy linking issues have been solved by linking a single module (.o) into
731 the shared library (two step link using distrib/mac/shared-ld-sh)
732 - fixed thread priority setting under Linux
733
734 All (GUI):
735
736 - it is now possible to set the icons of different sizes for frames (e.g. a
737 small and big ones) using the new wxIconBundle class
738 - implemented radio menu items and radio toolbar buttons
739 - added possibility to show text in the toolbar buttons
740 - added wxArtProvider class that can be used to customize the look of standard
741 wxWidgets dialogs
742 - significantly improved native font support
743 - wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
744 wxHashTable
745 - added IFF image handler
746 - fixed using custom renderers in wxGrid which was broken in 2.3.2
747 - support for multiple images in one file added to wxImage
748 (TIFF, GIF and ICO formats)
749 - support for CUR and ANI files in wxImage added (Chris Elliott)
750 - wxTextCtrl::GetRange() added
751 - added wxGetFontFromUser() convenience function
752 - added EVT_MENU_OPEN and EVT_MENU_CLOSE events
753 - added Hungarian translations (Janos Vegh)
754 - added wxImage::SaveFile(filename) method (Chris Elliott)
755 - added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method
756 for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott)
757 - added (platform-dependent) scan code to wxKeyEvent (Bryce Denney)
758 - added wxTextCtrl::EmulateKeyPress()
759 - Added wxMouseCaptureChangedEvent
760 - Added custom character filtering to wxTextValidator
761 - wxTreeCtrl now supports incremental keyboard search
762 - wxMessageOutput class added
763 - wxHelpProvider::RemoveHelp added and called from ~wxWindowBase
764 so that erroneous help strings are no longer found as the hash
765 table fills up
766 - updated libpng from 1.0.3 to 1.2.4
767 - Added wxView::OnClosingDocument so the application can do cleanup.
768 - generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
769 renamed to wxGenericImageList, so they can be used on wxMSW
770 (Rene Rivera).
771 - Added wxTreeEvent::IsEditCancelled so the application can tell
772 whether a label edit was cancelled.
773 - added static wxFontMapper::Get() accessor
774
775 wxMSW:
776
777 - small appearance fixes for native look under Windows XP
778 - fixed the bug related to the redrawing on resize introduced in 2.3.2
779 - fixed multiple bugs in wxExecute() with IO redirection
780 - refresh the buttons properly when the window is resized (Hans Van Leemputten)
781 - huge (40*) speed up in wxMask::Create()
782 - changing wxWidgets styles also changes the underlying Windows window style
783 - wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
784 - fixed flicker in wxTreeCtrl::SetItemXXX()
785 - fixed redraw problems in dynamically resized wxStaticText
786 - improvements to wxWidgets applications behaviour when the system colours
787 are changed
788 - choose implicit parent for the dialog boxes better
789 - fixed wxProgressDialog for ranges > 65535
790 - wxSpinButton and wxSpinCtrl now support full 32 bit range (if the version
791 of comctl32.dll installed on the system supports it)
792 - wxFontEnumerator now returns all fonts, not only TrueType ones
793 - bugs in handling wxFrame styles (border/caption related) fixed
794 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
795 recursion any more
796 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
797 - the separators are not seen behind the controls added to the toolbar any more
798 - wxLB_SORT style can be used with wxCheckListBox
799 - wxWindowDC and wxClientDC::GetSize() works correctly now
800 - Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL
801 - Multiline labels in buttons are now supoprted (simply use "\n" in the label)
802 - Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
803 has the capture before release it.
804 - fixed bugs in multiple selection wxCheckListBox
805 - default button handling is now closer to expected
806 - setting tooltips for wxSlider now works
807 - disabling a parent window also disables all of its children (as in wxGTK)
808 - multiple events avoided in wxComboBox
809 - tooltip asserts avoided for read-only wxComboBox
810 - fixed a race condition during a thread exit and a join
811 - fixed a condition where a thread can hang during message/event processing
812 - increased space between wxRadioBox label and first radio button
813 - don't fail to register remaining window classes if one fails to register
814 - wxFontDialog effects only turned on if a valid colour was
815 provided in wxFontData
816 - Added wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT flags for text control alignment.
817 - Bitmap printing uses 24 bits now, not 8.
818
819 wxGTK:
820
821 - wxDirDialog now presents the file system in standard Unix way
822 - wxButton now honours wxBU_EXACTFIT
823 - wxStaticBox now honours wxALIGN_XXX styles
824 - added support for non alphanumeric simple character accelerators ('-', '=')
825 - new behaviour for wxWindow::Refresh() as it now produces a delayed refresh.
826 Call the new wxWindow::Update() to force an immediate update
827 - support for more SGI hardware (12-bit mode among others)
828 - fixed wxDC::Blit() to honour source DC's logical coordinates
829 - implemented wxIdleEvent::RequestMore() for simple background tasks
830 - implemented wxChoice::Delete()
831 - fixed bad memory leak in wxFileDialog (Chris Elliott)
832 - made internal GC pool dynamically growable
833 - added GTK+ 2 and Unicode support
834
835 wxMotif:
836
837 - improved colour settings return values (Ian Brown)
838 - improved border style handling for wxStaticText (Ian Brown)
839 - improved toolbar control alignment
840 - implemented wxSpinButton
841 - implemented wxCheckListBox
842 - fixed wxSpinCtrl and wxStaticLine when used with sizers
843 - wxStaticBitmap now shows transparent icons correctly
844
845 wxX11:
846
847 - added generic MDI implementation (Hans Van Leemputten)
848 - first cut at wxSocket support (not yet working)
849
850 wxMac:
851
852 - Many improvements
853
854 wxOS2:
855
856 - First alpha-quality release
857
858 wxHTML:
859
860 - fixed wxHtmlHelpController's cache files handling on big endian machines
861 - added blocking and redirecting capabilities to wxHtmlWindow via
862 wxHtmlWindow::OnOpeningURL()
863 - fixed alignment handling in tables
864 - fixed <font face="..."> handling to be case insensitive
865
866 2.3.2
867 -----
868
869 New port: wxUniv for Win32/GTK+ is now included in the distribution.
870
871 wxBase:
872
873 - wxRegEx class added
874 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
875 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
876 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
877 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
878 capabilities at runtime instead of in the configure script.
879
880 All (GUI):
881
882 - support for virtual list control added
883 - column images in report mode of the list control
884 - wxFindReplaceDialog added (based on work of Markus Greither)
885 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
886 - polygon support in wxRegion (Klaas Holwerda)
887 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
888 - fixed bug with using wxExecute() to capture huge amounts of output
889 - new wxCalendarCtrl styles added (Søren Erland Vestø)
890 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
891 - wxDirSelector() added (Paul A. Thiessen)
892 - wxGrid cell editing veto support (Roger Gammans)
893 - wxListCtrl ITEM_FOCUSED event added
894 - support for ICO files in wxImage added (Chris Elliott)
895 - improvements to wxDragImage (Chuck Messenger)
896
897 wxMSW:
898
899 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
900 - new library naming convention under VC++ -- please change your application
901 project files
902
903 wxGTK:
904
905 - fixed popup menu positioning bug
906 - fixed the edit function for wxListCtrl (Chuck Messenger)
907 - fixed the key-hitting events for wxListCtrl and wxTreeCtrl, so they
908 correctly return the key which was pressed (Chuck Messenger)
909
910 wxMac:
911
912 - support for configuration and build under Mac OS X using the Apple Developer
913 Tools
914
915 wxHTML:
916
917 - new HTML parser with correct parsing of character entities and fixes
918 to tags parsing
919 - added support for animated GIFs
920
921 2.3.1
922 -----
923
924 wxBase:
925
926 - Fixes for gcc 3.0
927 - Fixed new charset detection code
928 - ODBC Informix fixes (submitted by Roger Gammans)
929 - Added ODBC date support to wxVariant
930 - Added wxDir::Traverse
931 - Added wxSingleInstanceChecker class
932 - Removed redundant wxDebugContext functions using C++ streams,
933 so now standard stream usage should be unnecessary
934
935 All (GUI):
936
937 - Added wxDbGrid class for displaying ODBC tables
938 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
939 user code can get access to the edit control when it is created, (to
940 push on a custom event handler for example)
941 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
942 GetDefaultStyle methods to wxTextCtrl
943 - Added wxSingleInstanceChecker
944 - Improvements to Tex2RTF
945 - Added Paul and Roger Gammans' grid controls
946 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
947 first-time saved
948 - Fixed memory leak in textcmn.cpp
949 - Various wxXML enhancements
950 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
951 - Fixed memory leak in DoPrint, htmprint.cpp
952 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
953 instead of GetId()
954 - Added wxDbGrid combining wxODBC classes with wxGrid
955 - Added more makefiles and project files for contrib hierarchy
956
957 wxMSW:
958
959 - Fixed wxApp::ProcessMessage so controls don't lose their
960 accelerators when the accelerators are redefined elsewhere
961 - Accelerators consisting of simple keystrokes (without control,
962 alt or shift) now work
963 - Compile fixes for Watcom C++ added
964 - Compile fixes for Cygwin 1.0 added
965 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
966 - Replaced wxYield() call in PopupMenu() by a much safer
967 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
968 - Enter processing in wxSpinCtrl fixed
969 - Fixed bug in determining the best listbox size
970 - Fix for wxFrame's last focus bug
971 - We now send iconize events
972 - Fixed wxFrame::SetClientSize() with toolbar bug
973 - Added mousewheel processing
974 - Added wxSystemSettings::Get/SetOption so we can configure
975 wxWidgets at run time; used this to implement no-maskblt option
976 in wxDC
977 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
978 child frame styles are honoured
979
980 wxGTK:
981
982 - Fixed slider rounding bug
983 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
984 - We now send iconize events
985 - Fix for discrepancies between wxNotebookEvent and wxNotebook
986 GetSelection() results
987
988 2.3.0
989 -----
990
991 wxBase:
992
993 - fixed problem with wxURL when using static version of the library
994 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
995 - wxMimeTypesManager now can create file associations too (Chris Elliott)
996 - wxCopyFile() respects the file permissions (Roland Scholz)
997 - wxFTP::GetFileSize() added (Søren Erland Vestø)
998 - wxDateTime::IsSameDate() bug fixed
999 - wxTimeSpan::Format() now behaves more as expected, see docs
1000 - wxLocale now provides much more convenient API for setting language and
1001 detecting current system language. New API is more abstracted and truly
1002 cross-platform, independent of underlying C runtime library.
1003
1004 All (GUI):
1005
1006 - new wxToggleButton class (John Norris, Axel Schlueter)
1007 - wxCalendarCtrl not highlighting the date with time part bug fixed
1008 - wxADJUST_MINSIZE sizer flag added
1009 - FindOrCreateBrush/Pen() bug fix for invalid colour values
1010 - new wxXPMHandler for reading and writing XPM images
1011 - added new (now recommended) API for conversion between wxImage and wxBitmap
1012 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
1013 wxImage methods and ctor)
1014 - ODBC classes now support DB2, Interbase, and Pervasive SQL
1015 - ODBC documentation complete!!
1016 - ODBC classes have much Unicode support added, but not complete
1017 - ODBC experimental BLOB support added, but not completely tested
1018 - ODBC NULL column support completed (Roger/Paul Gammans)
1019 - ODBC All "char *" and char arrays removed and replaced with wxString use
1020
1021 wxMSW:
1022
1023 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
1024 - fixed bug in MDI children flags (mis)handling
1025 - it is possible to compile wxCHMHelpController with compilers
1026 other than Visual C++ now and hhctrl.ocx is loaded at runtime
1027
1028 wxGTK:
1029
1030 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
1031
1032 wxHTML:
1033
1034 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
1035 - visual enhancements to contents panel of wxHtmlHelpController
1036
1037 2.2.0
1038 -----
1039
1040 wxBase:
1041
1042 - Fixed bug with directories with trailing (back)slashes in wxPathExists
1043 - wxString: added wxArrayString::operator==() and !=()
1044 - Fixes for wxCmdLineParser
1045 - Added wxGetLocalTimeMillis
1046 - Completed Czech translations
1047 - Some stream corrections
1048 - added missing consts to wxPoint operators
1049 - wxDateTime ParseFormat fixes
1050 - wxFile::Open(write_append) will create file if it doesn't exist
1051 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
1052
1053 All (GUI):
1054
1055 - wxGenericDragImage now allows virtual image drawing, and
1056 flicker-free dragging is now possible
1057 - Added wxPrinter::GetLastError
1058 - Fixed wxLogGui reentrancy problem
1059 - Paper names now translated
1060 - wxGrid fixes
1061 - Generic validator now caters for more cases (integers in
1062 wxTextCtrl, strings in wxChoice, wxComboBox)
1063 - Fixed crash when docview On... functions return FALSE. Show
1064 error message when an non-existent filename is typed into the Open
1065 File dialog.
1066 - Corrected Baltic font encoding handling
1067 - wxImage: enhanced TIFF code, added new platform-independent BMP
1068 writing code
1069 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
1070 - Fixed wxPropertyForm crashes in sample
1071 - wxWizard now calls TransferDataFromWindow() before calling
1072 wxWizardPage::GetNext() fixing an obvious bug
1073
1074 wxMSW:
1075
1076 - wxWindow::GetCharWidth/Height now calculated accurately.
1077 This will affect all .wxr dialog resources, so for
1078 backward compatibility, please set
1079 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
1080 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
1081 - wxTextCtrl: implemented setting colours for rich edit controls
1082 - wxColour now accepts both grey and gray
1083 - BC++ DLL compilation fixed
1084 - Watcom C++ makefiles improved for JPEG and TIFF compilation
1085 - Fixed submenu accelerator bug
1086 - Fixed dialog focus bug (crash if the previous window to have
1087 the focus was destroyed before the dialog closed)
1088 - Too-small default wxTextCtrl height fixed
1089 - fixed "missing" initial resize of wxMDIChildFrame
1090 - wxFrame restores focus better
1091 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
1092 frames and dialogs, interferes with other window styles otherwise
1093 (sometimes you'd get a thick frame in a subwindow)
1094 - wxTextCtrl insertion point set to the beginning of the control by SetValue
1095 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
1096 - wxFileDialog: adjusts struct size if there's an error (struct
1097 sizes can be different on different versions of Windows)
1098 - wxImageList::GetSize() documented and added to wxMSW
1099 - fixed default dialog style to make them non resizeable again
1100 - fixed wxFrame::IsShown() which always returned TRUE before
1101
1102 wxGTK:
1103
1104 - Please see docs/gtk/changes.txt.
1105
1106 wxMotif:
1107
1108 - Small compilation fixes
1109
1110 Documentation:
1111
1112 - wxCaret documented
1113
1114 2.1.16
1115 ------
1116
1117 wxBase:
1118
1119 All (GUI):
1120
1121 wxMSW:
1122
1123 - Various bug fixes
1124 - Added wxCHMHelpController, for invoking MS HTML Help
1125 files. This works under VC++ only
1126 - Modal dialog handling improved
1127 - Printer dialog now modal
1128
1129 wxGTK:
1130
1131 - Various bug fixes
1132
1133 wxMotif:
1134
1135 - Various bug fixes
1136
1137 2.1.15
1138 ------
1139
1140 Documentation:
1141
1142 - Added docs/tech for technical notes
1143
1144 File hierarchy:
1145
1146 - Started new contrib hierarchy that mirrors
1147 the main lib structure; moved OGL and MMedia into it
1148
1149 wxBase:
1150
1151 - wxSocket support
1152 - wxDateTime replaces and extends old wxDate and wxTime classes (still
1153 available but strongly deprecated) with many new features
1154 - wxLongLong class provides support for (signed) 64 bit integers
1155 - wxCmdLineParser class for parsing the command line (supporting short and
1156 long options, switches and parameters of different types)
1157 - it is now possible to build wxBase under Win32 (using VC++ only so far)
1158 and BeOS (without thread support yet)
1159 - wxThread class modified to support both detached and joinable threads, also
1160 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
1161 only so far)
1162 - wxDir class for enumerating files in a directory
1163 - wxLog functions are now (more) MT-safe
1164 - wxStopWatch class, timer functions have more chances to return correct
1165 results for your platform (use ANSI functions where available)
1166 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
1167 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
1168 is available)
1169 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
1170
1171 all (GUI):
1172
1173 - Added wxImage::Rotate.
1174 - new wxCalendarCtrl class for picking a date interactively
1175 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu management
1176 - wxToolBar supports arbitrary controls (not only buttons) and can be
1177 dynamically changed (Delete/Insert functions)
1178 - vertical toolbars supported by MSW and GTK native wxToolBar classes
1179 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
1180 - "file open" dialog allows selecting multiple files at once (contributed by
1181 John Norris)
1182 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
1183 MIME types if available (Unix only)
1184 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
1185 - TIFF support added (libtiff required and included in the distribution)
1186 - PCX files can now be written (256 and 24 bits)
1187 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
1188 - wxScrolledWindow now has keyboard interface
1189 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
1190 - added wxEncodingConverter and improved wxFontMapper
1191 for dealing with conversions between different encodings,
1192 charsets support in wxLocale and wxHTML
1193 - wxDragImage class added
1194 - samples/help improved to show standard and advanced HTML help
1195 controllers, as well as native help
1196 - moved wxTreeLayout class to main lib
1197
1198 wxMSW:
1199
1200 - wxFrame::MakeFullScreen added.
1201 - support for enhanced metafiles added, support for copying/pasting metafiles
1202 (WMF and enhanced ones) fixed/added.
1203 - implemented setting colours for push buttons
1204 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
1205 positioned along the top of the screen and not only at the bottom
1206 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
1207 - loading/saving big (> 32K) files in wxTextCtrl works
1208 - tooltips work with wxRadioBox
1209 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
1210 Unix ports
1211 - returning FALSE from OnPrintPage() aborts printing
1212 - VC++ makefiles and project files made (mostly) consistent
1213 - wxSetCursorEvent added
1214
1215 wxGTK:
1216
1217 - wxFontMapper endless recursion bug (on some systems) fixed
1218 - wxGTK synthesizes wxActivateEvents
1219 - UpdateUI handlers may be used with wxTextCtrl
1220
1221 wxMotif:
1222
1223 - wxMenu::Enable works
1224 - wxToolBar bugs fixed
1225 - OGL samples made to work again
1226
1227 wxHTML:
1228
1229 - almost complete rewrite of wxHtmlHelpController,
1230 including faster search, bookmarks, printing, setup dialog
1231 and cross-platform binary compatible .cached files for faster
1232 loading of large helpbooks, case insensitive search
1233 split into 3 parts: wxHtmlHelpData, Frame and Controller
1234 - added support for charsets and <meta> tag
1235 - added support for font faces and justified paragraphs,
1236 taken some steps to prepare wxHTML for frames
1237 - added dynamic pushing/popping of wxHtmlParser tag handlers
1238 - improved HTML printing
1239 - added extensive table of HTML characters substitutions (&nbsp; etc.)
1240 - fixed wxHtmlWindow flickering, several minor bugfixes
1241 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
1242 fixed handling of relative and absolute font sizes in <font size>
1243
1244
1245 NOTE: for changes after wxWidgets 2.1.0 b4, please see the CVS
1246 change log.
1247
1248 2.1.0, b4, May 9th 1999
1249 -----------------------
1250
1251 wxGTK:
1252
1253 - JPEG support added.
1254 - Many fixes and changes not thought worth mentioning in this file :-)
1255
1256 wxMSW:
1257
1258 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
1259 SetTabSize added.
1260 - JPEG support added.
1261 - Fixes for Cygwin compilation.
1262 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
1263 - Many fixes people didn't tell this file about.
1264
1265 wxMotif:
1266
1267
1268 General:
1269
1270 - Some changes for Unicode support, including wxchar.h/cpp.
1271
1272
1273 2.0.1 (release), March 1st 1999
1274 -------------------------------
1275
1276 wxGTK:
1277
1278 - wxGLCanvas fixes.
1279 - Slider/spinbutton fixes.
1280
1281 wxMSW:
1282
1283 - Fixed problems with <return> in dialogs/panels.
1284 - Fixed window cursor setting.
1285 - Fixed toolbar sizing and edge-clipping problems.
1286 - Some makefile fixes.
1287
1288 wxMotif:
1289
1290 - None.
1291
1292 General:
1293
1294 - Added wxUSE_SOCKETS.
1295 - More topic overviews.
1296 - Put wxPrintPaperType, wxPrintPaperDatabase into
1297 prntbase.h/cpp for use in non-PostScript situations
1298 (e.g. Win16 wxPageSetupDialog).
1299
1300
1301 Beta 5, February 18th 1999
1302 --------------------------
1303
1304 wxGTK:
1305
1306 - wxExecute improved.
1307
1308 wxMSW:
1309
1310 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
1311 expected).
1312 - Changed VC++ makefiles (.vc) so that it's possible to have
1313 debug/release/DLL versions of the library available simultaneously,
1314 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
1315 - Added BC++ 5 IDE files and instructions.
1316 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
1317 - Fixed focus-related crash.
1318
1319 wxMotif:
1320
1321 - Cured asynchronous wxExecute crash.
1322 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
1323
1324 General:
1325
1326 - wxLocale documented.
1327 - Added include filenames to class reference.
1328 - wxHelpController API changed: SetBrowser becomes SetViewer,
1329 DisplaySection works for WinHelp, help sample compiles under Windows
1330 (though doesn't display help yet).
1331
1332 Beta 4, February 12th 1999
1333 --------------------------
1334
1335 wxGTK:
1336
1337 - Miscellaneous fixes.
1338
1339 wxMSW:
1340
1341 - Makefiles for more compilers and samples; Cygwin makefiles
1342 rationalised.
1343 - Added VC++ project file for compiling wxWidgets as DLL.
1344
1345 wxMotif:
1346
1347 - Added OnEraseBackground invocation.
1348 - Added wxRETAINED implementation for wxScrolledWindow.
1349 - Cured scrolling display problem by adding XmUpdateDisplay.
1350 - Tried to make lex-ing in the makefile more generic (command line
1351 syntax should apply to both lex and flex).
1352 - Changed file selector colours for consistency (except for buttons:
1353 crashes for some reason).
1354 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
1355 of malloc, which causes memory problems).
1356
1357 General:
1358
1359 - Further doc improvements.
1360 - wxGenericValidator added.
1361 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
1362 automatically.
1363
1364 Beta 3, January 31st 1999
1365 -------------------------
1366
1367 wxGTK:
1368
1369 - wxClipboard/DnD API changes (still in progress).
1370 - wxToolTip class added.
1371 - Miscellaneous fixes.
1372
1373 wxMSW:
1374
1375 - wxRegConfig DeleteAll bug fixed.
1376 - Makefiles for more compilers.
1377 - TWIN32 support added.
1378 - Renamed VC++ makefiles from .nt to .vc, and
1379 factored out program/library settings.
1380 - Fixed wxIniConfig bug.
1381
1382 wxMotif:
1383
1384 - A few more colour fixes.
1385 - wxGLCanvas and OpenGL samples working.
1386 - Some compiler warnings fixed.
1387 - wxChoice crash fix.
1388 - Dialog Editor starting to work on Motif.
1389
1390 General:
1391
1392 - wxBusyCursor class added.
1393 - Added samples/dde.
1394 - More doc improvements, incl. expanding docs/html/index.htm.
1395
1396 Beta 2, January 1999
1397 --------------------
1398
1399 wxGTK:
1400
1401 wxMSW:
1402
1403 - 16-bit BC++ compilation/linking works albeit without the resource system.
1404
1405 wxMotif:
1406
1407 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
1408 the right place.
1409 - Cured some widget table clashes.
1410 - Added thread support (Robert).
1411 - wxPoem sample now works.
1412
1413 General:
1414
1415 - Rearranged documentation a bit.
1416 - Sash window uses area of first frame/dialog to paint over when drawing
1417 the dragged sash, not just the sash window itself (it clipped to the right
1418 or below).
1419 - Made resource sample use the correct Cancel button id.
1420 - Moved wxProp to main library (generic directory), created proplist
1421 sample.
1422 - Added bombs and fractal samples.
1423
1424 Beta 1, December 24th 1998
1425 --------------------------
1426
1427 wxGTK:
1428
1429 - Various
1430
1431 wxMSW, wxMotif: not in sync with this release.
1432
1433
1434 Alpha 18, December 29th 1998
1435 ----------------------------
1436
1437 wxMSW:
1438
1439 - Win16 support working again (VC++ 1.5)
1440 - Win16 now uses generic wxNotebook, wxListCtrl,
1441 wxTreeCtrl -- more or less working now, although
1442 a little work on wxNotebook is still needed.
1443 Under 16-bit Windows, get assertion when you click
1444 on a tab.
1445 - Wrote 16-bit BC++ makefiles: samples don't yet link.
1446 - Added CodeWarrior support to distribution courtesy
1447 of Stefan Csomor.
1448
1449 wxMotif:
1450
1451 - Cured scrolling problem: scrollbars now show/hide themselves
1452 without (permanently) resizing the window.
1453 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
1454 that disabled scrollbar paging.
1455 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
1456 colours correctly.
1457 - Removed major bug whereby dialogs were unmanaged automatically
1458 when any button was pressed.
1459 - Fixed colours of wxWindow scrollbars, made list and text controls
1460 have a white background.
1461 - Fixed dialog colour setting.
1462 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
1463 they have sensible colours by default.
1464 - Fixed a bug in wxStaticBox.
1465 - Cured wxTreeCtrl bug: now works pretty well!
1466 - Debugged DrawEllipticArc (a ! in the wrong place).
1467 - Added SetClippingRegion( const wxRegion& region ).
1468 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
1469
1470 Alpha 17, November 22nd 1998
1471 ----------------------------
1472
1473 wxMSW:
1474
1475 - More documentation updates, especially for
1476 wxLayoutWindow classes and debugging facilities.
1477 - Changed wxDebugContext to use wxDebugLog instead
1478 of wxTrace.
1479 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
1480 However, DLL support may be broken for BC++ since
1481 VC++ 6 required changing of WXDLLEXPORT keyword
1482 position.
1483 - Numerous miscellaneous changes.
1484
1485 wxMotif:
1486
1487 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
1488 were too buggy (probably not design for dynamic addition/removal of
1489 child frames).
1490 - Some improvements to the wxNotebook implementation.
1491 - wxToolBar now uses a bulletin board instead of a form, in an attempt
1492 to make it possible to add ordinary wxControls to a toolbar.
1493 - Cured problem with not being able to use global memory operators,
1494 by defining two more global operators, so that the delete will match
1495 the debugging implementation.
1496 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
1497 global memory operators (usually OK) and #defining new to be
1498 WXDEBUG_NEW (sometimes it might not be OK).
1499 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
1500 - Added a parent-existence check to popup menu code to make it not crash.
1501 - Added some optimization in wxWindow::SetSize to produce less flicker.
1502 It remains to be seen whether this produces any resize bugs.
1503
1504 It's a long time since I updated this file. Previously done:
1505
1506 - wxFrame, wxDialog done.
1507 - wxScrolledWindow done (but backing pixmap not used at present).
1508 - wxBitmap done though could be tidied it up at some point.
1509 - Most basic controls are there, if not rigorously tested.
1510 - Some MDI support (menus appear on child frames at present).
1511 - wxNotebook almost done.
1512 - wxToolBar done (horizontal only, which would be easy to extend
1513 to vertical toolbars).
1514
1515 More recently:
1516
1517 - Colour and font changing done (question mark over what happens
1518 to scrollbars).
1519 - Accelerators done (for menu items and buttons). Also event loop
1520 tidied up in wxApp so that events are filtered through ProcessXEvent.
1521 - wxWindow::GetUpdateRegion should now work.
1522
1523 Alpha 16, September 8th 1998
1524 ----------------------------
1525
1526 wxMSW:
1527
1528 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
1529 sample.
1530 - Guilhem's socket classes added, plus wxsocket sample.
1531 - A few more makefiles added.
1532 - GnuWin32/BC++ compatibility mods.
1533 - Further doc updates.
1534 - wxProp updates for correct working with wxGTK.
1535
1536 wxMotif:
1537
1538 - First start at Motif port.
1539 - Made makefiles for wxMotif source directory and minimal sample.
1540 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
1541 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
1542 wxMenu, wxMenuItem, wxMenuBar
1543
1544 Alpha 15, August 31st 1998
1545 --------------------------
1546
1547 wxMSW:
1548
1549 - wxBitmap debugged.
1550 - wxDC::GetDepth added.
1551 - Contribution added whereby wxBitmap will be
1552 converted to DC depth if they don't match.
1553 - wxConfig API improved, documentation updated.
1554 - Printing classes name conventions cleaned up.
1555 - wxUpdateUIEvent now derives from wxCommandEvent
1556 so event can travel up the window hierarchy.
1557
1558 Alpha 14, July 31st 1998
1559 ------------------------
1560
1561 wxMSW:
1562
1563 - Toolbar API has been simplified, and now
1564 wxFrame::GetClientArea returns the available client
1565 area when toolbar, status bar etc. have been accounted for.
1566 wxFrame::CreateToolBar added in line with CreateStatusBar.
1567 - Documentation updates, incl. for wxToolBar.
1568 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
1569 - Various additions from other folk, e.g. streams, wxConfig
1570 changes, wxNotebook.
1571 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
1572
1573 Alpha 13, July 8th 1998
1574 -----------------------
1575
1576 wxMSW:
1577
1578 - Implemented wxPoint as identical to POINT on Windows, and
1579 altered wxDC wxPoint functions to use wxPoint directly in
1580 Windows functions, for efficiency.
1581 - Cured wxASSERT bug in wxStatusBar95.
1582 - #ifdefed out some bits in oleutils.cpp for compilers that
1583 don't support it.
1584 - Added some operators to wxPoint, wxSize.
1585 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
1586
1587 Alpha 12, July 7th 1998
1588 -----------------------
1589
1590 wxMSW:
1591
1592 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
1593 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
1594
1595 Alpha 11, July 3rd 1998
1596 -----------------------
1597
1598 wxMSW:
1599
1600 - Added thread.h, thread.cpp.
1601 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
1602 wxMenuBar.
1603 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
1604 SetTextColor to SetTextColour, and added or made public several
1605 wxMenuItem accessors.
1606 - Added two overloads to wxRegion::Contains. Added
1607 wxRegion::IsEmpty for a more consistent naming convention.
1608 - Added Vadim's wxDataObject and wxDropSource.
1609 - ENTER/LEAVE events now work.
1610 - Cured wxMemoryDC bug where the DC wasn't being deleted.
1611 - Cured wxGauge SetSize major bugginess.
1612 - Cured problem where if a GDI object was created on the stack,
1613 then went out of scope, then another object was selected into
1614 the DC, GDI objects would leak. This is because the assignment
1615 to e.g. wxDC::m_pen would delete the GDI object without it first
1616 being selected out of the DC. Cured by selecting the old DC object
1617 first, then doing the assignment.
1618 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
1619 - Various other bug fixes and additions.
1620
1621 Generic:
1622
1623 - Major work on Dialog Editor (still plenty to go).
1624 - Expanded documentation a bit more.
1625
1626 Alpha 10, May 7th 1998
1627 ----------------------
1628
1629 wxMSW:
1630
1631 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
1632 and wxIcon functions so that you can specify what size of
1633 icon should be loaded. Probably will remain a Windows-specific thing.
1634 - wxStatusBar95 now works for MDI frames.
1635 - Toolbars in MDI frames now behave normally. They still
1636 require application-supplied positioning code though.
1637 - Changed installation instructions, makefiles and batch files
1638 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
1639 change to support Mingw32/EGCS. Bison now used by default.
1640
1641 Alpha 9, April 27th 1998
1642 ------------------------
1643
1644 wxMSW:
1645
1646 - Cured bug in wxStatusBar95 that caused a crash if multiple
1647 fields were used.
1648 - Added Gnu-Win32 b19/Mingw32 support by changing resource
1649 compilation and pragmas.
1650 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
1651 commands because VZ changed the id setting in wxMenu::MSWCommand.
1652
1653 Generic:
1654
1655 - Corrected some bugs, such as the wxModule compilation problem.
1656 - Added Gnu-Win32 b19/Mingw32 support by changing resource
1657 compilation and pragmas.
1658 - Changed SIZEOF to WXSIZEOF.
1659
1660 Alpha 8, April 17th 1998
1661 ------------------------
1662
1663 wxMSW:
1664
1665 - Added IsNull to wxGDIObject to check if the ref data is present or not.
1666 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
1667 some reason :-(
1668 - Added wxJoystick class and event handling, and simple demo.
1669 - Added simple wxWave class. Needs Stop() function.
1670 - Added wxModule (module.h/module.cpp) to allow definition
1671 of modules to be initialized and cleaned up on wxWidgets
1672 startup/exit.
1673 - Start of Mingw32 compatibility (see minimal and dialogs samples
1674 makefile.m95 files, and install.txt).
1675 - Note: Windows printing has stopped working... will investigate.
1676 VADIM'S CHANGES:
1677 - Updated wxString: bug fixes, added wxArrayString, some
1678 compatibility functions.
1679 - Updated log.h/cpp, added wxApp::CreateLogTarget.
1680 - file.h: new wxTempFile class.
1681 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
1682 - statbr95: wxStatusBar95 control.
1683 - registry.h/cpp: wxRegKey class for Win95 registry.
1684 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
1685 - wxConfig and wxFileConfig classes.
1686
1687 Generic:
1688
1689 - Added src/other/png, src/other/zlib directories.
1690 - Added samples/png.
1691 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
1692 Porters, please check particularly your wxTreeCtrl and wxListCtrl
1693 header files.
1694 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
1695
1696 Alpha 7, March 30th 1998
1697 ------------------------
1698
1699 wxMSW:
1700
1701 - Added tab classes, tab sample.
1702 - Now can return FALSE from OnInit and windows will be
1703 cleaned up properly before exit.
1704 - Improved border handling so panels don't get borders
1705 automatically.
1706 - Debugged MDI activation from Window menu.
1707 - Changes to memory debug handling, including checking for
1708 memory leaks on application exit - but see issues.txt for
1709 unresolved issues.
1710 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
1711 to allow maintenance of an icon in the Windows 95 taskbar
1712 tray area.
1713 - Got MFC sample working (MFC and wxWidgets in the same
1714 application), partly by tweaking ntwxwin.mak settings.
1715 - Got DLL compilation working again (VC++).
1716 - Changed wxProp/Dialog Editor filenames.
1717
1718 Generic:
1719
1720 - Added tab classes, tab sample.
1721 - Revised memory.cpp, memory.h slightly; memory.h now #defines
1722 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
1723 now checks for leaks on exit. Added memcheck sample.
1724 See src/msw/issues.txt for more details.
1725 - resource.h, resource.cpp changed to make wxDefaultResourceTable
1726 a pointer. Now initialize resource system with
1727 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
1728 allow better control of memory.
1729 - wxString now derives from wxObject, to enable memory leak
1730 checking.
1731 - Added some #include fixes in various files, plus changed
1732 float to long in wxToolBar files.
1733
1734 Alpha 6, March 10th 1998
1735 ------------------------
1736
1737 wxMSW:
1738
1739 - Found stack error bug - stopped unwanted OnIdle recursion.
1740 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
1741 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
1742 check if the number of top-level windows is zero before
1743 exiting. Also, wxApp::GetTopWindow will return either
1744 m_topWindow or the first member of wxTopLevelWindows, so you
1745 don't have to call wxApp::SetTopWindow.
1746 - Added dynarray.h/dynarray.cpp (from Vadim).
1747 - Added first cut at OLE drag and drop (from Vadim). dnd sample
1748 added. Drop target only at this stage. See src/msw/ole/*.cpp,
1749 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
1750 Doesn't work with GnuWin32 - no appropriate headers e.g. for
1751 IUnknown.
1752 Doesn't work with BC++ either - crashes on program startup.
1753 - Added Vadim's owner-draw modifications - will probably remain
1754 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
1755 - Added wxLB_OWNERDRAW for owner-draw listboxes.
1756 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
1757 Doesn't entirely work for WIN16.
1758 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
1759 can also be used as an argument to wxMenu::Append, not just for
1760 internal implementation.
1761 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
1762 in makeg95.env, together with mingw32.bat). However, resource
1763 binding is not working yet so most apps with dialogs crash.
1764
1765 Generic:
1766
1767 - Added Vadim's dynarray.h, dynarray.cpp.
1768 - Added Vadim's menuitem.cpp.
1769 - Added Windows-specific wxCheckListBox,
1770 owner-draw wxListBox, and drag-and-drop
1771 (see docs/msw/changes.txt).
1772
1773 Alpha 5, 14th February 1998
1774 --------------------------
1775
1776 wxMSW:
1777
1778 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1779 DISTRIBUTIONS. This change log will therefore now refer to
1780 the Windows-specific code only. See docs/changes.txt for generic
1781 changes.
1782 - Removed Windows-specific reference counting system (GDI
1783 resources were cleaned up in idle time) - minimal
1784 advantages now we have a wxWin reference counting system.
1785 - Added missing WXDLLEXPORT keywords so DLL compilation works
1786 again.
1787 - Removed most warnings for GnuWin32 compilation.
1788 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1789 e.g. wxDC.
1790
1791 Generic:
1792
1793 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1794 DISTRIBUTIONS. This change log will therefore now refer to
1795 the generic code only. See docs/msw/changes.txt for Windows-specific
1796 changes.
1797 - Readmes, change logs and installation files now go in
1798 platform-specific directories under docs, e.g. docs/msw,
1799 docs/gtk.
1800 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1801 created dynamically, not as a global object.
1802 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1803 - Changed names of some include/wx/generic headers to be
1804 consistent and to conform to gcc pragma conventions. Also
1805 changed choicesg.cpp to choicdgg.cpp.
1806 - Added gcc pragmas.
1807 - Added gtk inclusion in include/wx headers.
1808 - Added consistent file headings to source and headers.
1809 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1810 added a few references to wxTransString.
1811 - Added operator to wxTransString that converts automatically
1812 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1813 - samples/internat now works (minimally).
1814 - Added wxMouseEvent::GetPosition and
1815 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1816 - Made wxSize and wxRect contain longs not ints.
1817 - Cured some memory leaks (thanks Vadim).
1818 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1819 will only keep processing OnIdle if it returns TRUE from
1820 MoreRequested.
1821
1822 Alpha 4, 31st January 1998
1823 --------------------------
1824
1825 All:
1826
1827 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1828 integer pointers, plus a version that returns a wxSize.
1829 - const keyword added to various wxDC functions.
1830 - Under Windows, wxDC no longer has any knowledge of whether
1831 an associated window is scrolled or not. Instead, the device
1832 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1833 - wxScrolledWindow applications can optionally override the virtual OnDraw
1834 function instead of using the OnPaint event handler. The wxDC passed to
1835 OnDraw will be translated by PrepareDC to reflect scrolling.
1836 When drawing outside of OnDraw, must call PrepareDC explicitly.
1837 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1838 scrolling toolbars.
1839 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1840 to help printing with multiple pages.
1841 - IPC classes given base classes (wxConnectionBase etc.) which
1842 define the API used by different implementations. DDE
1843 implementation updated to use these base classes.
1844 - wxHelpInstance now separated into wxHelpControllerBase (base
1845 for all implementations), wxWinHelpController (uses standard
1846 WinHelp), wxXLPHelpController (talks to wxHelp by DDE or
1847 TCP/IP). There will be others eventually, such as
1848 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1849 - Added Vadim Zeitlin's wxString class plus
1850 internationalization code (gettext simulation, wxLocale, etc.).
1851 New files from Vadim:
1852 include\wx\string.h
1853 include\wx\debug.h
1854 include\wx\file.h
1855 include\wx\log.h
1856 include\wx\intl.h
1857 src\common\string.cpp
1858 src\common\log.cpp
1859 src\common\intl.cpp
1860 src\common\file.cpp
1861 No longer use GNU wxString files.
1862 - Split off file-related functions into include\wx\filefn.h and
1863 src\common\filefn.cpp.
1864 - Borland C++ support (WIN32) for main library and
1865 samples, using makefile.b32 files.
1866 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1867 including changes to defs.h.
1868 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1869 introduced.
1870 - Added wxShowEvent (generated when window is being shown or
1871 hidden).
1872 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1873 cured 16-bit problem with wxTextCtrl (removed global memory
1874 trick).
1875 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1876
1877 Alpha 3, September 1997
1878 -----------------------
1879
1880 All:
1881
1882 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1883 - Instigated new file hierarchy, split files and classes up more logically.
1884 - PrologIO and some other utils now put into core library.
1885 - Revamped print/preview classes, added wxPageSetupDialog.
1886 - Started documentation.
1887
1888 Alpha 2, 30th April 1997
1889 ------------------------
1890
1891 All:
1892
1893 - EVT_... macros now have at least one argument, for conformance
1894 with MetroWerks compiler.
1895 - Added ids to .wxr file format.
1896 - Got Dialog Editor compiled and running again but need
1897 to extend functionality to be in line with new controls.
1898 Added dialoged\test app to allow dynamic loading of .wxr files
1899 for testing purposes.
1900 - Rewrote wxBitmap to allow installable file type
1901 handlers.
1902 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1903 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1904 fully).
1905 - Added back wxRadioBox.
1906 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1907 a separate file.
1908
1909 Alpha 1, 5th April 1997
1910 -----------------------
1911
1912 Generic:
1913
1914 At this point, the following has been achieved:
1915
1916 - A lot, but not all, of the code has been revamped for better
1917 naming conventions, protection of data members, and use of
1918 wxString instead of char *.
1919 - Obsolete functionality deleted (e.g. default wxPanel layout,
1920 old system event system) and code size reduced.
1921 - Class hierarchy changed (see design doc) - base classes such
1922 as wxbWindow now removed.
1923 - No longer includes windows.h in wxWin headers, by using stand-in
1924 Windows types where needed e.g. WXHWND.
1925 - PrologIO revised.
1926 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1927 MDI is now achieved using separate classes, not window styles.
1928 - wxSystemSettings added, and made use of to reflect standard
1929 Windows settings.
1930 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1931 settings mucho rationalised.
1932 - All windows are now subclassed with the same window proc to make
1933 event handling far more consistent. Old internal wxWnd and derived
1934 classes removed.
1935 - API for controls revised, in particular addition of
1936 wxValidator parameters and removal of labels for some controls.
1937 - 1 validator written: see examples/validate.
1938 - Event table system introduced (see most samples and
1939 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1940 made more flexible, with Push/PopEventHandler allowing a chain
1941 of event handlers.
1942 - wxRadioBox removed - will be added back soon.
1943 - Toolbar class hierarchy revised:
1944 wxToolBarBase
1945 wxToolBarSimple (= old wxToolBar)
1946 wxToolBar95 (= old wxButtonBar under Win95
1947 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1948 - Constraint system debugged somewhat (sizers now work properly).
1949 - wxFileDialog, wxDirDialog added; other common dialogs now
1950 have class equivalents. Generic colour and font dialogs
1951 rewritten to not need obsolete panel layout.
1952 - .wxr resource system partially reinstated, though needs
1953 an integer ID for controls. Hopefully the resource system
1954 will be replaced by something better and more efficient
1955 in the future.
1956 - Device contexts no longer stored with window and accessed
1957 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1958 variables instead.
1959 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1960 determines whether labels are shown. Other Win95-specific flags
1961 introduced, e.g. for showing ticks.
1962 - Styles introduced for dealing with 3D effects per window, for
1963 any window: all Win95 3D effects supported, plus transparent windows.
1964 - Major change to allow 3D effect support without CTL3D, under
1965 Win95.
1966 - Bitmap versions of button and checkbox separated out into new
1967 classes, but unimplemented as yet because I intend to remove
1968 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1969 - utils/wxprop classes working (except maybe wxPropertyFormView)
1970 in preparation for use in Dialog Editor.
1971 - GNU-WIN32 compilation verified (a month or so ago).
1972
1973