Mercurial > dwindows
diff dwtestoo.cpp @ 2921:235fef840df2
C++: Implement Print class and enable the print code in dwtestoo.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 29 Dec 2022 10:06:23 +0000 |
parents | c6b699a441fe |
children | 969cc3b8bec2 |
line wrap: on
line diff
--- a/dwtestoo.cpp Wed Dec 28 21:13:04 2022 +0000 +++ b/dwtestoo.cpp Thu Dec 29 10:06:23 2022 +0000 @@ -798,9 +798,8 @@ return TRUE; }); - printbutton->ConnectClicked([]() -> int + printbutton->ConnectClicked([this]() -> int { -#if 0 // TODO DW::Print *print = new DW::Print("DWTest Job", 0, 2, [this](DW::Pixmap *pixmap, int page_num) -> int { pixmap->SetFont(FIXEDFONT); @@ -843,7 +842,6 @@ return TRUE; }); print->Run(0); -#endif return TRUE; });