From 2fd1cf7daf5f2a13652f4bc29572e7f2f1312d70 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 6 Feb 2005 17:55:52 +0000 Subject: [PATCH] wxX11 compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/bitmap.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index 1b5cff4135..eeb2423a18 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -1320,9 +1320,9 @@ class wxXPMFileHandler : public wxBitmapHandler public: wxXPMFileHandler() { - m_name = wxT("XPM file"); - m_extension = wxT("xpm"); - m_type = wxBITMAP_TYPE_XPM; + SetName( wxT("XPM file") ); + SetExtension( wxT("xpm") ); + SetType( wxBITMAP_TYPE_XPM ); }; virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags, @@ -1428,9 +1428,9 @@ class wxXPMDataHandler : public wxBitmapHandler public: wxXPMDataHandler() { - m_name = wxT("XPM data"); - m_extension = wxT("xpm"); - m_type = wxBITMAP_TYPE_XPM_DATA; + SetName( wxT("XPM data") ); + SetExtension( wxT("xpm") ); + SetType( wxBITMAP_TYPE_XPM_DATA ); }; virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags, @@ -1529,9 +1529,9 @@ class WXDLLEXPORT wxXBMDataHandler: public wxBitmapHandler public: inline wxXBMDataHandler() { - m_name = wxT("XBM data"); - m_extension = wxT("xbm"); - m_type = wxBITMAP_TYPE_XBM_DATA; + SetName( wxT("XBM data") ); + SetExtension( wxT("xbm") ); + SetType( wxBITMAP_TYPE_XBM_DATA ); }; virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags, -- 2.45.2