]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/filedlg.cpp
First part of '[ 1216148 ] cleanup: unused variables and declarations'.
[wxWidgets.git] / src / msw / filedlg.cpp
index 0cde93995b2008440cf78a535547ca56efba7013..a31464cb56ba6c7df176d95f76997b370d5cdb9e 100644 (file)
     #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>
@@ -86,7 +82,7 @@ IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
 // hook function for moving the dialog
 // ----------------------------------------------------------------------------
 
-UINT APIENTRY
+UINT_PTR APIENTRY
 wxFileDialogHookFunction(HWND      hDlg,
                          UINT      iMsg,
                          WPARAM    WXUNUSED(wParam),