Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
first-time saved git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b6b1d47f2c
commit
fd746d3050
@ -230,7 +230,7 @@ bool wxDocument::Save()
|
||||
{
|
||||
bool ret = FALSE;
|
||||
|
||||
if (!IsModified()) return TRUE;
|
||||
if (!IsModified() && m_savedYet) return TRUE;
|
||||
if (m_documentFile == wxT("") || !m_savedYet)
|
||||
ret = SaveAs();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user