]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/dcprint.h
use AllocExclusive
[wxWidgets.git] / include / wx / os2 / dcprint.h
index fef20ef34760aea0185cc94e89f6257ec4c98300..0cf75b37b196e82e1e635ac208e72fc0e3dc2386 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcprint.h
+// Name:        wx/os2/dcprint.h
 // Purpose:     wxPrinterDC class
 // Author:      David Webster
 // Modified by:
@@ -37,6 +37,8 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
     void StartPage(void);
     void EndPage(void);
 
+    wxRect GetPaperRect();
+
 protected:
     virtual void DoDrawBitmap( const wxBitmap& rBmp
                               ,wxCoord         vX
@@ -52,8 +54,8 @@ protected:
                         ,wxCoord vYsrc
                         ,int     nRop = wxCOPY
                         ,bool    bUseMask = FALSE
-                        ,wxCoord xsrcMask = -1
-                        ,wxCoord ysrcMask = -1
+                        ,wxCoord vXsrcMask = -1
+                        ,wxCoord vYsrcMask = -1
                        );
 
     // init the dc