X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68995f26e8cb57350ee1acde913106723e0b39c4..6db90681cf0b58209a061561f5d3624f6eda8024:/include/wx/gtk/dialog.h diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index 62bd45a4cd..82334eb479 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -29,7 +29,7 @@ class wxDialog; // global data //----------------------------------------------------------------------------- -extern const char *wxDialogNameStr; +extern const wxChar *wxDialogNameStr; //----------------------------------------------------------------------------- // wxDialog @@ -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() };