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