From: Gilles Depeyrot Date: Sun, 6 Feb 2005 14:36:03 +0000 (+0000) Subject: corrected initialization of private wxBitmapHandler members in wxPICTResourceHandler... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3bf2bdfb7d1f680e54e89e55e22ebd5e912bebe8?ds=inline corrected initialization of private wxBitmapHandler members in wxPICTResourceHandler constructor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 71aaca2aa7..a43d731eb3 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -1287,9 +1287,9 @@ class WXDLLEXPORT wxPICTResourceHandler: public wxBitmapHandler public: inline wxPICTResourceHandler() { - m_name = wxT("Macintosh Pict resource"); - m_extension = wxEmptyString; - m_type = wxBITMAP_TYPE_PICT_RESOURCE; + SetName(wxT("Macintosh Pict resource")); + SetExtension(wxEmptyString); + SetType(wxBITMAP_TYPE_PICT_RESOURCE); }; virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,