X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69157f8b8b6ce7543279d1a026492d35a3906b59..abe2606b703f615dbe96d2d7a54345c0b27b9843:/include/wx/cmndata.h?ds=sidebyside diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 4c58ded722..51d9ca2555 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -18,6 +18,7 @@ #include "wx/font.h" #include "wx/colour.h" +#include "wx/gdicmn.h" #if (defined(__WXMOTIF__) || defined(__WXGTK__)) && wxUSE_POSTSCRIPT class WXDLLEXPORT wxPrintSetupData; @@ -89,6 +90,7 @@ public: int maxSize; }; +#if wxUSE_PRINTING_ARCHITECTURE /* * wxPrintData * Encapsulates printer information (not printer dialog information) @@ -157,7 +159,7 @@ class WXDLLEXPORT wxPrintData: public wxObject void operator=(const wxPrintSetupData& setupData); #endif -#ifdef __WXMSW__ +#if defined(__WXMSW__) // Convert to/from the DEVMODE structure void ConvertToNative(); void ConvertFromNative(); @@ -379,5 +381,7 @@ private: wxPrintData m_printData; }; +#endif // wxUSE_PRINTING_ARCHITECTURE + #endif // _WX_CMNDATA_H_BASE_