]> git.saurik.com Git - wxWidgets.git/commitdiff
Ok -> IsOk
authorRobert Roebling <robert@roebling.de>
Wed, 14 Nov 2007 13:15:07 +0000 (13:15 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 14 Nov 2007 13:15:07 +0000 (13:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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();
 bool wxHtmlPrintout::OnPrintPage(int page)
 {
     wxDC *dc = GetDC();
-    if (dc && dc->Ok())
+    if (dc && dc->IsOk())
     {
         if (HasPage(page))
             RenderPage(dc, page);
     {
         if (HasPage(page))
             RenderPage(dc, page);