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

View File

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