]> git.saurik.com Git - wxWidgets.git/commit
Fix referencing of cairo_t returned from wxDCImpl::GetCairoContext().
authorPaul Cornett <paulcor@bullseye.com>
Tue, 3 Sep 2013 05:37:30 +0000 (05:37 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 3 Sep 2013 05:37:30 +0000 (05:37 +0000)
commit48829702f157f628beeda931b55a1b023afed326
treea3bcbf3b5110e3bee63b087605436b86bfa04ef9
parentac3bf3695837ace8159804949a3185f5be03cbec
Fix referencing of cairo_t returned from wxDCImpl::GetCairoContext().
It was assumed that all callers were going to unref the cairo_t, but that is not
true, so callers that are going to unref it should ref it themselves.
See #15455

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/graphicc.cpp
src/gtk/dc.cpp
src/gtk/print.cpp