]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
Applied patch [ 603858 ] wxTextCtrl text alignment patch
[wxWidgets.git] / src / msw / dcprint.cpp
index 63940492182886420bb378b9a2b20839afac58f1..e2b917ed82b79f3ae54e8d4fac7f452b2b7ec4e9 100644 (file)
@@ -194,7 +194,7 @@ bool wxPrinterDC::StartDoc(const wxString& message)
     if (ret <= 0)
     {
         DWORD lastError = GetLastError();
-        wxLogDebug(wxT("wxDC::StartDoc failed with error: %d\n"), lastError);
+        wxLogDebug(wxT("wxDC::StartDoc failed with error: %ld\n"), lastError);
     }
 #endif
 
@@ -474,7 +474,8 @@ bool wxPrinterDC::DoBlit(wxCoord xdest, wxCoord ydest,
                          wxCoord width, wxCoord height,
                          wxDC *source,
                          wxCoord xsrc, wxCoord ysrc,
-                         int WXUNUSED(rop), bool useMask)
+                         int WXUNUSED(rop), bool useMask,
+                         wxCoord WXUNUSED(xsrcMask), wxCoord WXUNUSED(ysrcMask))
 {
     bool success = TRUE;