X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92afa2b150803da84a4bc7dfa4e580dbbff15c9a..ada8f807758339fe6a80070fe0935d87496dbe57:/include/wx/dialog.h diff --git a/include/wx/dialog.h b/include/wx/dialog.h index ac5f9a9672..a693f638ae 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -12,18 +12,24 @@ #ifndef _WX_DIALOG_H_BASE_ #define _WX_DIALOG_H_BASE_ +#ifdef __GNUG__ + #pragma interface "dialogbase.h" +#endif + #include "wx/defs.h" #include "wx/panel.h" 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 ); @@ -31,6 +37,7 @@ protected: // places buttons into a horizontal wxBoxSizer wxSizer *CreateButtonSizer( long flags ); +protected: // the return code from modal dialog int m_returnCode; };