s/wxSplitPath/wxFileName::SplitPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -248,11 +248,11 @@ int wxFileDialog::ShowModal()
|
||||
int nIdx = wxStrlen(zFileNameBuffer) - 1;
|
||||
wxString sExt;
|
||||
|
||||
wxSplitPath( zFileNameBuffer
|
||||
,&m_path
|
||||
,&m_fileName
|
||||
,&sExt
|
||||
);
|
||||
wxFileName::SplitPath( zFileNameBuffer
|
||||
,&m_path
|
||||
,&m_fileName
|
||||
,&sExt
|
||||
);
|
||||
if (zFileNameBuffer[nIdx] == wxT('.') || sExt.empty())
|
||||
{
|
||||
zFileNameBuffer[nIdx] = wxT('\0');
|
||||
|
Reference in New Issue
Block a user