#include "wx/app.h"
#endif
-#include "wx/msw/private.h"
-
-#if !defined(__WIN32__) || defined(__WXWINCE__)
- #include <commdlg.h>
-#endif
+#include "wx/msw/wrapcdlg.h"
#include <stdlib.h>
#include <string.h>
// hook function for moving the dialog
// ----------------------------------------------------------------------------
-UINT APIENTRY
+UINT_PTR APIENTRY
wxFileDialogHookFunction(HWND hDlg,
UINT iMsg,
WPARAM WXUNUSED(wParam),