X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2afb9e169048b77a41c63b4f4eea3b10daee641a..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/msw/msgdlg.h diff --git a/include/wx/msw/msgdlg.h b/include/wx/msw/msgdlg.h index 95c61af4e3..e48e1d4919 100644 --- a/include/wx/msw/msgdlg.h +++ b/include/wx/msw/msgdlg.h @@ -12,7 +12,7 @@ #ifndef _WX_MSGBOXDLG_H_ #define _WX_MSGBOXDLG_H_ -class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase +class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase { public: wxMessageDialog(wxWindow *parent, @@ -22,12 +22,17 @@ public: const wxPoint& WXUNUSED(pos) = wxDefaultPosition) : wxMessageDialogBase(parent, message, caption, style) { + m_hook = NULL; } virtual int ShowModal(); -protected: +private: + static WXLRESULT wxCALLBACK HookFunction(int code, WXWPARAM, WXLPARAM); + + WXHANDLE m_hook; // HHOOK used to position the message box + DECLARE_DYNAMIC_CLASS(wxMessageDialog) DECLARE_NO_COPY_CLASS(wxMessageDialog) };