]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gdiimage.h
wxMDIChildFrame::Maximize() should have default value for its argument just as wxFram...
[wxWidgets.git] / include / wx / msw / gdiimage.h
index 97d81bbd9f4dd6d1ea289651e9412a48773cd368..a58afe00fc74d783baa06d90c11a33dc38009406 100644 (file)
@@ -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