projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for VC (also ok with Borland and DMC)
[wxWidgets.git]
/
src
/
msw
/
fdrepdlg.cpp
diff --git
a/src/msw/fdrepdlg.cpp
b/src/msw/fdrepdlg.cpp
index c839d458af85e07c294075dbe8ea4808d6f2a70b..7eab0dae8d707ea8faeba638a0fe7476de259c7d 100644
(file)
--- a/
src/msw/fdrepdlg.cpp
+++ b/
src/msw/fdrepdlg.cpp
@@
-35,12
+35,7
@@
#include "wx/log.h"
#endif
#include "wx/log.h"
#endif
-#include "wx/msw/private.h"
-
-#if !defined(__WIN32__) || defined(__WXWINCE__)
- #include <commdlg.h>
-#endif
-
+#include "wx/msw/wrapcdlg.h"
#include "wx/fdrepdlg.h"
// ----------------------------------------------------------------------------
#include "wx/fdrepdlg.h"
// ----------------------------------------------------------------------------
@@
-178,7
+173,7
@@
void wxFindReplaceDialogImpl::InitString(const wxString& str,
*ppStr = new wxChar[len];
wxStrcpy(*ppStr, str);
*ppStr = new wxChar[len];
wxStrcpy(*ppStr, str);
- *pLen = len;
+ *pLen =
(WORD)
len;
}
void wxFindReplaceDialogImpl::InitFindWhat(const wxString& str)
}
void wxFindReplaceDialogImpl::InitFindWhat(const wxString& str)