No real changes, just slightly simplify wxSVGFileDCImpl code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:19:11 +0000 (23:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2012 23:19:11 +0000 (23:19 +0000)
commitc9848e6318cdb8525574272ced74b0389e86319c
tree622971c4db067d7c8ac14ea8034fa8e5791145b8
parente844dc641e2de56799a00f2414ecd8889924dcd1
No real changes, just slightly simplify wxSVGFileDCImpl code.

Move m_graphics_changed check inside NewGraphics() itself instead of checking
whether it's true each time before calling it, it is better to both test the
flag and reset it inside this function rather than do the first part in the
caller and the second one in the callee.

Also rename the function to NewGraphicsIfNeeded() to make its meaning more
clear.

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