X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b6dbb09746f8f5ee0549a2ff39ae0ac4c725898..34c9978dac9a0120731737d5c6c5f629d1ace32b:/include/wx/motif/dcprint.h diff --git a/include/wx/motif/dcprint.h b/include/wx/motif/dcprint.h index d46260ffce..91812557e6 100644 --- a/include/wx/motif/dcprint.h +++ b/include/wx/motif/dcprint.h @@ -12,7 +12,7 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dcprint.h" #endif @@ -20,15 +20,15 @@ class WXDLLEXPORT wxPrinterDC: public wxDC { - public: - DECLARE_CLASS(wxPrinterDC) - - // Create a printer DC - wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT); - - ~wxPrinterDC(); +public: + DECLARE_CLASS(wxPrinterDC) + + // Create a printer DC + wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT); + + ~wxPrinterDC(); }; #endif - // _WX_DCPRINT_H_ +// _WX_DCPRINT_H_