]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filename.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / filename.h
index 7ef9e2f93d6359d28bdc4bab26958cb0f1fd0eda..7768d77a1c8f1e7c8c09f755a5720caafe281e41 100644 (file)
@@ -498,8 +498,8 @@ public:
 
     // Other accessors
     void SetExt( const wxString &ext )          { m_ext = ext; m_hasExt = !m_ext.empty(); }
-    void ClearExt()                             { m_ext = wxEmptyString; m_hasExt = false; }
-    void SetEmptyExt()                          { m_ext = wxT(""); m_hasExt = true; }
+    void ClearExt()                             { m_ext.clear(); m_hasExt = false; }
+    void SetEmptyExt()                          { m_ext.clear(); m_hasExt = true; }
     wxString GetExt() const                     { return m_ext; }
     bool HasExt() const                         { return m_hasExt; }