]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dcpsg.h
Rewrite selection event code for wxListBox.
[wxWidgets.git] / include / wx / generic / dcpsg.h
index ddd9888e68ef114f64a35710a5e18c2544958a2f..65d2b2b32513b29c372969c66de12ad64f3242f4 100644 (file)
 #ifndef _WX_DCPSG_H_
 #define _WX_DCPSG_H_
 
-#include "wx/dc.h"
+#include "wx/defs.h"
 
 #if wxUSE_PRINTING_ARCHITECTURE
 
 #if wxUSE_POSTSCRIPT
 
+#include "wx/dc.h"
 #include "wx/dialog.h"
 #include "wx/module.h"
 #include "wx/cmndata.h"
 
+extern WXDLLIMPEXP_DATA_CORE(int) wxPageNumber;
+
 //-----------------------------------------------------------------------------
 // classes
 //-----------------------------------------------------------------------------
@@ -40,9 +43,10 @@ public:
     wxPostScriptDC(const wxPrintData& printData);
 
     // Recommended destructor :-)
-    ~wxPostScriptDC();
+    virtual ~wxPostScriptDC();
 
-  virtual bool Ok() const;
+  virtual bool Ok() const { return IsOk(); }
+  virtual bool IsOk() const;
 
   bool CanDrawBitmap() const { return true; }