X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92afa2b150803da84a4bc7dfa4e580dbbff15c9a..98243feda0170861d11fafeb5fb2b3848ee36224:/include/wx/dialog.h diff --git a/include/wx/dialog.h b/include/wx/dialog.h index ac5f9a9672..78e89ce307 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -12,6 +12,10 @@ #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" @@ -23,7 +27,6 @@ public: 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 +34,7 @@ protected: // places buttons into a horizontal wxBoxSizer wxSizer *CreateButtonSizer( long flags ); +protected: // the return code from modal dialog int m_returnCode; };