]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dcprint.h
don't use annoying and unneeded in C++ casts of NULL to "T *"
[wxWidgets.git] / include / wx / x11 / dcprint.h
index 466a0f8d95eb0da8d706e9a4afc245be180d4ff7..cfb2809b07c2367d3cfa45edcc486aed4dc69577 100644 (file)
@@ -1,34 +1,29 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcprint.h
+// Name:        wx/x11/dcprint.h
 // Purpose:     wxPrinterDC class
 // Author:      Julian Smart
 // Modified by:
 // Created:     17/09/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCPRINT_H_
 #define _WX_DCPRINT_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "dcprint.h"
-#endif
-
 #include "wx/dc.h"
 
-class WXDLLEXPORT wxPrinterDC: public wxDC
+class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
 {
 public:
     DECLARE_CLASS(wxPrinterDC)
-        
+
     // Create a printer DC
     wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT);
-    
-    ~wxPrinterDC();
+
+    virtual ~wxPrinterDC();
 };
 
 #endif
-// _WX_DCPRINT_H_
-
+    // _WX_DCPRINT_H_