]> git.saurik.com Git - wxWidgets.git/commit - src/common/gdicmn.cpp
Always let (deprecated) FindColour() return a new instance of a found colour, because...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Dec 2003 02:09:01 +0000 (02:09 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 19 Dec 2003 02:09:01 +0000 (02:09 +0000)
commit98de2b68055019d20b172d162032e23be2dfbb12
tree9fdfc2f115210cdde8155fdc90e7fd122133d5f5
parent0c65afdb458fcb63936fd3db8a2b83ea89a9ef10
Always let (deprecated) FindColour() return a new instance of a found colour, because otherwise multiple calls to FindColour() will share the same wxColour; Added a wxLogDebug message when FindColour() is used because it shouldn't be used without modifying user-code probably (Returned wxColours must now be released).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/gdicmn.cpp