git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31780
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
public:
inline wxICONResourceHandler()
{
- m_name = wxT("ICON resource");
- m_extension = wxEmptyString;
- m_type = wxBITMAP_TYPE_ICON_RESOURCE;
+ SetName(wxT("ICON resource"));
+ SetExtension(wxEmptyString);
+ SetType(wxBITMAP_TYPE_ICON_RESOURCE);
};
virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
public:
inline wxPNGFileHandler(void)
{
- m_name = wxT("PNG bitmap file");
- m_extension = wxT("bmp");
- m_type = wxBITMAP_TYPE_PNG;
+ SetName(wxT("PNG bitmap file"));
+ SetExtension(wxT("bmp"));
+ SetType(wxBITMAP_TYPE_PNG);
};
virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,