From 19d360adbeb69adc401d8289e2c55f13317fc281 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 6 Feb 2005 11:19:58 +0000 Subject: [PATCH] As members have gone private, use Accessors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/icon.h | 6 +++--- include/wx/mac/carbon/pnghand.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/wx/mac/carbon/icon.h b/include/wx/mac/carbon/icon.h index bdc0ff755f..5b7a8106e8 100644 --- a/include/wx/mac/carbon/icon.h +++ b/include/wx/mac/carbon/icon.h @@ -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, diff --git a/include/wx/mac/carbon/pnghand.h b/include/wx/mac/carbon/pnghand.h index d700daad65..d58a996308 100644 --- a/include/wx/mac/carbon/pnghand.h +++ b/include/wx/mac/carbon/pnghand.h @@ -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, -- 2.45.2