X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..02b7b6b072762ff1e02950109a751815ac7429fd:/include/wx/imagtiff.h diff --git a/include/wx/imagtiff.h b/include/wx/imagtiff.h index 67657d6d4f..e027ff0b64 100644 --- a/include/wx/imagtiff.h +++ b/include/wx/imagtiff.h @@ -10,7 +10,7 @@ #ifndef _WX_IMAGTIFF_H_ #define _WX_IMAGTIFF_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imagtiff.h" #endif @@ -25,13 +25,7 @@ class WXDLLEXPORT wxTIFFHandler: public wxImageHandler { public: - inline wxTIFFHandler() - { - m_name = wxT("TIFF file"); - m_extension = wxT("tif"); - m_type = wxBITMAP_TYPE_TIF; - m_mime = wxT("image/tiff"); - } + wxTIFFHandler(); #if wxUSE_STREAMS virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 );