As members have gone private, use Accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -81,9 +81,9 @@ class WXDLLEXPORT wxICONResourceHandler: public wxBitmapHandler
|
|||||||
public:
|
public:
|
||||||
inline wxICONResourceHandler()
|
inline wxICONResourceHandler()
|
||||||
{
|
{
|
||||||
m_name = wxT("ICON resource");
|
SetName(wxT("ICON resource"));
|
||||||
m_extension = wxEmptyString;
|
SetExtension(wxEmptyString);
|
||||||
m_type = wxBITMAP_TYPE_ICON_RESOURCE;
|
SetType(wxBITMAP_TYPE_ICON_RESOURCE);
|
||||||
};
|
};
|
||||||
|
|
||||||
virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
|
virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
|
||||||
|
@@ -26,9 +26,9 @@ class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
|
|||||||
public:
|
public:
|
||||||
inline wxPNGFileHandler(void)
|
inline wxPNGFileHandler(void)
|
||||||
{
|
{
|
||||||
m_name = wxT("PNG bitmap file");
|
SetName(wxT("PNG bitmap file"));
|
||||||
m_extension = wxT("bmp");
|
SetExtension(wxT("bmp"));
|
||||||
m_type = wxBITMAP_TYPE_PNG;
|
SetType(wxBITMAP_TYPE_PNG);
|
||||||
};
|
};
|
||||||
|
|
||||||
virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
|
virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,
|
||||||
|
Reference in New Issue
Block a user