X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b68e0b5b90ed63309f02f30e33b884eeaec5a3d..c3357374af44fdcae9d326e62ab5a39d9517102d:/include/wx/dialog.h?ds=sidebyside diff --git a/include/wx/dialog.h b/include/wx/dialog.h index fb131cd96c..a693f638ae 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -22,12 +22,14 @@ class WXDLLEXPORT wxDialogBase : public wxPanel { public: +#ifdef __WXMAC_X__ + ~wxDialogBase() {} // Added min for Mac X +#endif // the modal dialogs have a return code - usually the id of the last // pressed button void SetReturnCode(int returnCode) { m_returnCode = returnCode; } int GetReturnCode() const { return m_returnCode; } -protected: // splits text up at newlines and places the // lines into a vertical wxBoxSizer wxSizer *CreateTextSizer( const wxString &message ); @@ -35,6 +37,7 @@ protected: // places buttons into a horizontal wxBoxSizer wxSizer *CreateButtonSizer( long flags ); +protected: // the return code from modal dialog int m_returnCode; };