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