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