X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3180bc0e63fc0feea1fcdb756752b700c27b9773..11bfe4bfdc79b0374a0f287dac80efa262b365a7:/src/msw/filedlg.cpp?ds=sidebyside diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index a474faac76..a31464cb56 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -40,18 +40,14 @@ #include "wx/app.h" #endif -#include "wx/msw/private.h" +#include "wx/msw/wrapcdlg.h" -#if !defined(__WIN32__) || defined(__WXWINCE__) - #include -#endif - -#include #include #include #include "wx/filename.h" #include "wx/tokenzr.h" +#include "wx/math.h" #include "wx/msw/missing.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), @@ -395,8 +391,6 @@ int wxFileDialog::ShowModal() } } - //== Execute FileDialog >>================================================= - //== Execute FileDialog >>================================================= bool success = (m_dialogStyle & wxSAVE ? GetSaveFileName(&of)