]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[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);