From: Vadim Zeitlin Date: Wed, 5 May 2004 22:36:46 +0000 (+0000) Subject: mention non-const wxDC::GetPen/Font/Brush() removal X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/55e9fa681e229cc8782005f0fb7d3494734bc266?ds=inline mention non-const wxDC::GetPen/Font/Brush() removal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index 9e7684042e..7613845a12 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -49,6 +49,10 @@ INCOMPATIBLE CHANGES SINCE 2.4.x not using wxList keyed interface (the same used when wxUSE_STL == 1), the only incompatibility being that Next() returns a wxHashTable::Node* instead of a wxNode*. +- non-const wxDC methods GetBackground(), GetBrush(), GetFont() and GetPen() + don't exist any more, please fix your code -- it never worked correctly + anyhow if you modified the objects returned by these methods so you should + simply switch to using const methods. wxTaskBarIcon must be explicitly destroyed now, otherwise the application won't exit even though there are no top level windows