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