]> git.saurik.com Git - wxWidgets.git/commit
Avoid creating rect with negative size while clipping to DC size.
authorPaul Cornett <paulcor@bullseye.com>
Tue, 16 Aug 2011 07:02:37 +0000 (07:02 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 16 Aug 2011 07:02:37 +0000 (07:02 +0000)
commitd0f93bc7dcf35f0e136cd8a5fa22ad6bdf1c2501
tree39e1b35410c3488a099737ee4c3ed1bd304a2721
parentf4cb7c58da30c8dde304bb7c3b83af3ddba6c9c2
Avoid creating rect with negative size while clipping to DC size.
Also, don't convert result of wxDC::GetSize() to device coords, it's already device coords.

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