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