]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/msgdlg.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / msw / msgdlg.h
index 95c61af4e3e396e2157ac056a78a192499880d0e..e48e1d49195709eafc031bbd6dee2947bdff3716 100644 (file)
@@ -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)
 };