]> git.saurik.com Git - wxWidgets.git/commitdiff
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)
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


No differences found