X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/806f9e8330691d64966af62d35e6b3d88f30471e..a9dbb4f6815f5f43363ded1a20907f66649977c7:/src/html/htmprint.cpp diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index cc804e27d3..cacbefbc60 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -251,7 +251,7 @@ bool wxHtmlPrintout::OnBeginDocument(int startPage, int endPage) bool wxHtmlPrintout::OnPrintPage(int page) { wxDC *dc = GetDC(); - if (dc && dc->Ok()) + if (dc && dc->IsOk()) { if (HasPage(page)) RenderPage(dc, page);