]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Applied patch [ 1845819 ] wxMSW Top level window freeze fix for trunk
[wxWidgets.git] / src / html / htmprint.cpp
index cc804e27d34c35bb8041c4039f19407b78b72443..cacbefbc60939d9025ffdb3cb90efe7c11d2e87c 100644 (file)
@@ -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);