X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dddb8a2dde675b85bbe28399b921648a22e6be1..f014d4bf3e18198c273b3c119ad1a08d46d12c82:/include/wx/msw/gdiimage.h?ds=inline diff --git a/include/wx/msw/gdiimage.h b/include/wx/msw/gdiimage.h index 97d81bbd9f..a58afe00fc 100644 --- a/include/wx/msw/gdiimage.h +++ b/include/wx/msw/gdiimage.h @@ -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