1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/msgdlg.h
3 // Purpose: wxMessageDialog class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSGBOXDLG_H_
13 #define _WX_MSGBOXDLG_H_
15 class WXDLLEXPORT wxMessageDialog
: public wxMessageDialogBase
18 wxMessageDialog(wxWindow
*parent
,
19 const wxString
& message
,
20 const wxString
& caption
= wxMessageBoxCaptionStr
,
21 long style
= wxOK
|wxCENTRE
,
22 const wxPoint
& WXUNUSED(pos
) = wxDefaultPosition
)
23 : wxMessageDialogBase(parent
, message
, caption
, style
)
29 virtual int ShowModal();
32 static WXLRESULT wxCALLBACK
HookFunction(int code
, WXWPARAM
, WXLPARAM
);
34 WXHANDLE m_hook
; // HHOOK used to position the message box
36 DECLARE_DYNAMIC_CLASS(wxMessageDialog
)
37 DECLARE_NO_COPY_CLASS(wxMessageDialog
)
41 #endif // _WX_MSGBOXDLG_H_