X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/578c208107b4a2ddff650ab9795022a08351ea39..3e45770ceb21535986f806d22feda734a0e5ed49:/include/wx/gtk1/dialog.h diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h index 6edb8e1df6..82334eb479 100644 --- a/include/wx/gtk1/dialog.h +++ b/include/wx/gtk1/dialog.h @@ -87,6 +87,9 @@ public: virtual void Maximize() { } virtual void Restore() { } + void SetReturnCode(int returnCode) { m_returnCode = returnCode; } + int GetReturnCode() const { return m_returnCode; } + // implementation virtual void GtkOnSize( int x, int y, int width, int height ); @@ -105,6 +108,8 @@ protected: int sizeFlags = wxSIZE_AUTO); private: + int m_returnCode; + DECLARE_EVENT_TABLE() };