// Created: 2002/12/15
// RCS-ID: $Id:
// Copyright: David Elliott
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_DIALOG_H_
#include "wx/panel.h"
#include "wx/cocoa/NSPanel.h"
-WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr;
+WXDLLEXPORT_DATA(extern const wxChar) wxDialogNameStr[];
// ========================================================================
// wxDialog
// Implementation
// ------------------------------------------------------------------------
public:
- bool Show(bool show = true);
+ virtual bool Show(bool show = true);
void SetModal(bool flag);
virtual bool IsModal() const { return m_isModal; }
void OnOK(wxCommandEvent& event);
void OnApply(wxCommandEvent& event);
void OnCancel(wxCommandEvent& event);
+
+ // end either modal or modeless dialog
+ void EndDialog(int rc);
+
};
#endif // _WX_COCOA_DIALOG_H_