Use wxString::clear() instead of assignment to wxEmptyString
This commit is contained in:
@@ -1792,7 +1792,7 @@ wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates,
|
||||
msgTitle,
|
||||
wxOK | wxICON_EXCLAMATION | wxCENTRE);
|
||||
|
||||
path = wxEmptyString;
|
||||
path.clear();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user