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:
Stefan Csomor
2005-02-06 11:19:58 +00:00
parent ef9ed995cf
commit 19d360adbe
2 changed files with 6 additions and 6 deletions

View File

@@ -81,9 +81,9 @@ class WXDLLEXPORT wxICONResourceHandler: public wxBitmapHandler
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,

View File

@@ -26,9 +26,9 @@ class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
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,