m_handle = 0;
}
- wxGDIImageRefData(const wxGDIImageRefData& data)
+ wxGDIImageRefData(const wxGDIImageRefData& data) : wxGDIRefData(data)
{
m_width = data.m_width;
m_height = data.m_height;
void SetExtension(const wxString& ext) { m_extension = ext; }
void SetType(long type) { m_type = type; }
- wxString GetName() const { return m_name; }
- wxString GetExtension() const { return m_extension; }
+ const wxString& GetName() const { return m_name; }
+ const wxString& GetExtension() const { return m_extension; }
long GetType() const { return m_type; }
// real handler operations: to implement in derived classes
void SetSize(const wxSize& size) { SetSize(size.x, size.y); }
// forward some of base class virtuals to wxGDIImageRefData
- bool FreeResource(bool force = FALSE);
+ bool FreeResource(bool force = false);
virtual WXHANDLE GetResourceHandle() const;
protected: