- void SetExt( const wxString &ext ) { m_ext = ext; m_hasExt = true; }
- void SetNoExt() { m_ext = wxEmptyString; m_hasExt = false; }
+ 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; }