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