X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/213ceb3f0e7b88a09d756dd181f14ecb5bd44d57..c27bcbd5a7cec9f03b15c69824da99c5bb75924a:/include/wx/msw/gdiimage.h?ds=sidebyside diff --git a/include/wx/msw/gdiimage.h b/include/wx/msw/gdiimage.h index 534c9fc99e..a58afe00fc 100644 --- a/include/wx/msw/gdiimage.h +++ b/include/wx/msw/gdiimage.h @@ -44,7 +44,7 @@ public: m_handle = 0; } - wxGDIImageRefData(const wxGDIImageRefData& data) + wxGDIImageRefData(const wxGDIImageRefData& data) : wxGDIRefData(data) { m_width = data.m_width; m_height = data.m_height; @@ -102,8 +102,8 @@ public: 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