]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmndata.h
Fixed size problem due to wxMac window implementation difference
[wxWidgets.git] / include / wx / cmndata.h
index 3aa0a3e0d2fbf70c5746f8a6e8305e5cfdebefc5..fae981643ee96e32ca5e1840eac9fcbaa19daa25 100644 (file)
 #include "wx/colour.h"
 #include "wx/gdicmn.h"
 
 #include "wx/colour.h"
 #include "wx/gdicmn.h"
 
+#if wxUSE_STREAMS
+#include "wx/stream.h"
+#endif
+
 class WXDLLEXPORT wxColourData: public wxObject
 {
 public:
 class WXDLLEXPORT wxColourData: public wxObject
 {
 public:
@@ -203,6 +207,11 @@ public:
     void SetPrinterTranslation(long x, long y) { m_printerTranslateX = x; m_printerTranslateY = y; }
     void SetPrintMode(wxPrintMode printMode) { m_printMode = printMode; }
 
     void SetPrinterTranslation(long x, long y) { m_printerTranslateX = x; m_printerTranslateY = y; }
     void SetPrintMode(wxPrintMode printMode) { m_printMode = printMode; }
 
+#if wxUSE_STREAMS
+    wxOutputStream* GetOutputStream() { return m_outputstream; }
+    void SetOutputStream(wxOutputStream* outputstream) { m_outputstream = outputstream; }
+#endif
+
     void operator=(const wxPrintData& data);
 
 #if defined(__WXMSW__)
     void operator=(const wxPrintData& data);
 
 #if defined(__WXMSW__)
@@ -225,6 +234,9 @@ public:
 #elif defined(__WXMAC__)
     wxNativePrintData* m_nativePrintData ;
 #endif
 #elif defined(__WXMAC__)
     wxNativePrintData* m_nativePrintData ;
 #endif
+#if wxUSE_STREAMS
+    wxOutputStream* m_outputstream;
+#endif
 
 private:
 
 
 private:
 
@@ -251,7 +263,7 @@ private:
     long            m_printerTranslateX;
     long            m_printerTranslateY;
     wxPrintMode     m_printMode;
     long            m_printerTranslateX;
     long            m_printerTranslateY;
     wxPrintMode     m_printMode;
-    
+
 private:
     DECLARE_DYNAMIC_CLASS(wxPrintData)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxPrintData)
 };