projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
os2
/
filedlg.cpp
diff --git
a/src/os2/filedlg.cpp
b/src/os2/filedlg.cpp
index 77dcc5c30db45f9ab1a2b0e76ed14ee6f7629272..8fc737333e5972a4f08daabed74a2152f0cd26a0 100644
(file)
--- a/
src/os2/filedlg.cpp
+++ b/
src/os2/filedlg.cpp
@@
-23,6
+23,7
@@
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/msgdlg.h"
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/msgdlg.h"
+ #include "wx/filename.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
@@
-248,11
+249,11
@@
int wxFileDialog::ShowModal()
int nIdx = wxStrlen(zFileNameBuffer) - 1;
wxString sExt;
int nIdx = wxStrlen(zFileNameBuffer) - 1;
wxString sExt;
- wxSplitPath( zFileNameBuffer
- ,&m_path
- ,&m_fileName
- ,&sExt
- );
+ wx
FileName::
SplitPath( zFileNameBuffer
+
,&m_path
+
,&m_fileName
+
,&sExt
+
);
if (zFileNameBuffer[nIdx] == wxT('.') || sExt.empty())
{
zFileNameBuffer[nIdx] = wxT('\0');
if (zFileNameBuffer[nIdx] == wxT('.') || sExt.empty())
{
zFileNameBuffer[nIdx] = wxT('\0');