X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9692f42bc6c74ecc4bc4b8dc1b185894ed1b6cbf..73302af6dddd667af4ebec69c800bc9de106f28e:/include/wx/cocoa/dialog.h?ds=sidebyside diff --git a/include/wx/cocoa/dialog.h b/include/wx/cocoa/dialog.h index ca47e91ab4..b4e0145e91 100644 --- a/include/wx/cocoa/dialog.h +++ b/include/wx/cocoa/dialog.h @@ -6,7 +6,7 @@ // Created: 2002/12/15 // RCS-ID: $Id: // Copyright: David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_COCOA_DIALOG_H_ @@ -81,10 +81,11 @@ protected: // Implementation // ------------------------------------------------------------------------ public: - bool Show(bool show = true); + virtual bool Show(bool show = true); void SetModal(bool flag); - virtual bool IsModal() const; + virtual bool IsModal() const { return m_isModal; } + bool m_isModal; // For now, same as Show(TRUE) but returns return code virtual int ShowModal();