]> git.saurik.com Git - wxWidgets.git/commitdiff
mention non-const wxDC::GetPen/Font/Brush() removal
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 May 2004 22:36:46 +0000 (22:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 May 2004 22:36:46 +0000 (22:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt

index 9e7684042e01ed843036b7557b7f217ba6203944..7613845a12ad3268f086502e69561176742eff68 100644 (file)
@@ -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