X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c50f1fb9226d9260454ccb9c8a67d0be23c2827f..e90c1d2a19361551eb07778280f22be3e759cf64:/include/wx/msw/dialog.h diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index ccc130f2ac..0e4dce9d62 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -60,9 +60,6 @@ public: ~wxDialog(); - void SetReturnCode(int returnCode) { m_returnCode = returnCode; } - int GetReturnCode() const { return m_returnCode; } - virtual bool Destroy(); virtual void DoSetClientSize(int width, int height); @@ -92,8 +89,7 @@ public: void SetModal(bool flag); virtual void Centre(int direction = wxBOTH); - virtual bool IsModal() const - { return ((GetWindowStyleFlag() & wxDIALOG_MODAL) == wxDIALOG_MODAL); } + virtual bool IsModal() const; // For now, same as Show(TRUE) but returns return code virtual int ShowModal(); @@ -132,8 +128,7 @@ private: WXHWND m_hwndToolTip; #endif // tooltips - int m_returnCode; - +private: DECLARE_EVENT_TABLE() };