]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/postscrp.h
Now even wxRadioButton works
[wxWidgets.git] / include / wx / postscrp.h
index 5b6271775f3c59ae5e99022c9c8fbcb2120bc876..f0c1e5e0dc978576ee2783ff91ac6d9cf51a0a90 100644 (file)
@@ -43,6 +43,14 @@ public:
 #  endif
 #endif
 
+#ifdef __WXGTK__
+
+// wxGTK has its own wxPostscriptDC
+
+#include "wx/gtk/dcps.h"
+
+#else
+
 class WXDLLEXPORT wxPostScriptDC: public wxDC
 {
   DECLARE_DYNAMIC_CLASS(wxPostScriptDC)
@@ -150,6 +158,9 @@ protected:
   double            m_scaleFactor;
 };
 
+#endif 
+        // __WXGTK__
+      
 #define wxID_PRINTER_COMMAND        1
 #define wxID_PRINTER_OPTIONS        2
 #define wxID_PRINTER_ORIENTATION    3
@@ -308,6 +319,10 @@ private:
 
 WXDLLEXPORT_DATA(extern wxPrintPaperDatabase*) wxThePrintPaperDatabase;
 
-#endif // wxUSE_POSTSCRIPT
+#endif 
+      // wxUSE_POSTSCRIPT
+
 #endif
         // _WX_POSTSCRPH__
+       
+