mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*ScatterCtrl_Demo: Fixed report error
git-svn-id: svn://ultimatepp.org/upp/trunk@6420 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7ff96e183a
commit
d51b520863
1 changed files with 3 additions and 3 deletions
|
|
@ -97,10 +97,10 @@ void ScatterCtrl_Demo::OnSel()
|
|||
void ScatterCtrl_Demo::Preview()
|
||||
{
|
||||
Report r;
|
||||
|
||||
const Drawing &w = Examples()[examplesList.GetCursor()].ctrl()->Scatter().GetDrawing();
|
||||
|
||||
r.Landscape();
|
||||
Size pageSize = r.GetPageSize();
|
||||
Size pageSize = r.GetPageSize();
|
||||
const Drawing &w = Examples()[examplesList.GetCursor()].ctrl()->Scatter().GetDrawing(true);
|
||||
r.DrawDrawing(0, 0, pageSize.cx, pageSize.cy, w);
|
||||
|
||||
Perform(r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue