]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/printwin.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / msw / printwin.h
index d515ef25a33cd0159ed64202c622dafcdc1a8c90..14951384b37d6fc1d425cd67ee46afebc0a02a06 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        printwin.h
+// Name:        wx/msw/printwin.h
 // Purpose:     wxWindowsPrinter, wxWindowsPrintPreview classes
 // Author:      Julian Smart
 // Modified by:
@@ -56,7 +56,9 @@ public:
     virtual void DetermineScaling();
 
 protected:
+#if wxUSE_ENH_METAFILE
     virtual bool RenderPageIntoBitmap(wxBitmap& bmp, int pageNum);
+#endif
 
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxWindowsPrintPreview)
 };