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
This commit is contained in:
Gilles Depeyrot
2005-02-06 14:36:03 +00:00
parent e369bddbfb
commit 3bf2bdfb7d

View File

@@ -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,