X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..90186e524e347a3a779c928a44fb7d744b3efcf7:/include/wx/cmndata.h diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index abb8c5da51..dc4eeb3ee0 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -9,13 +9,16 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __CMNDATAH_BASE__ -#define __CMNDATAH_BASE__ +#ifndef _WX_CMNDATA_H_BASE_ +#define _WX_CMNDATA_H_BASE_ #ifdef __GNUG__ #pragma interface "cmndata.h" #endif +#include "wx/font.h" +#include "wx/colour.h" + class WXDLLEXPORT wxColourData: public wxObject { DECLARE_DYNAMIC_CLASS(wxColourData) @@ -82,7 +85,7 @@ class WXDLLEXPORT wxPrintData: public wxObject DECLARE_DYNAMIC_CLASS(wxPrintData) public: -#ifdef __WINDOWS__ +#ifdef __WXMSW__ void *printData; #endif int printFromPage; @@ -137,7 +140,7 @@ class WXDLLEXPORT wxPrintData: public wxObject void operator=(const wxPrintData& data); -#ifdef __WINDOWS__ +#ifdef __WXMSW__ // Convert to/from the PRINTDLG structure void ConvertToNative(void); void ConvertFromNative(void); @@ -220,4 +223,4 @@ class WXDLLEXPORT wxPageSetupData: public wxObject #endif - // __CMNDATAH_BASE__ + // _WX_CMNDATA_H_BASE_