X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01111366c9b4ea40eee7f4b13ddfe6f6b9f886db..fd3f686c274a264e89ea97505350a82c1134f307:/include/wx/image.h?ds=sidebyside diff --git a/include/wx/image.h b/include/wx/image.h index dd8a5e9754..a8cf85145d 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -66,15 +66,15 @@ class WXDLLEXPORT wxPNGHandler: public wxImageHandler public: - inline wxPNGHandler() - { - m_name = "PNG file"; - m_extension = "png"; - m_type = wxBITMAP_TYPE_PNG; - }; - - virtual bool LoadFile( wxImage *image, const wxString& name ); - virtual bool SaveFile( wxImage *image, const wxString& name ); + inline wxPNGHandler() + { + m_name = "PNG file"; + m_extension = "png"; + m_type = wxBITMAP_TYPE_PNG; + }; + + virtual bool LoadFile( wxImage *image, const wxString& name ); + virtual bool SaveFile( wxImage *image, const wxString& name ); }; //----------------------------------------------------------------------------- @@ -87,15 +87,16 @@ class WXDLLEXPORT wxBMPHandler: public wxImageHandler public: - inline wxBMPHandler() - { - m_name = "BMP file"; - m_extension = "bmp"; - m_type = wxBITMAP_TYPE_BMP; - }; + inline wxBMPHandler() + { + m_name = "BMP file"; + m_extension = "bmp"; + m_type = wxBITMAP_TYPE_BMP; + }; - virtual bool LoadFile( wxImage *image, const wxString& name ); + virtual bool LoadFile( wxImage *image, const wxString& name ); }; + //----------------------------------------------------------------------------- // wxImage //----------------------------------------------------------------------------- @@ -151,6 +152,7 @@ public: static wxImageHandler *FindHandler( long imageType ); static void CleanUpHandlers(); + static void InitStandardHandlers(); protected: