X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfa92264c07d094c05e5a07a17fd7f5bcee8e81f..19f87dbe255b5e85236547bfb4e20ad310644373:/include/wx/osx/dirdlg.h diff --git a/include/wx/osx/dirdlg.h b/include/wx/osx/dirdlg.h index 5cb641617a..882b9beaab 100644 --- a/include/wx/osx/dirdlg.h +++ b/include/wx/osx/dirdlg.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dirdlg.h +// Name: wx/osx/dirdlg.h // Purpose: wxDirDialog class // Author: Stefan Csomor // Modified by: @@ -23,16 +23,24 @@ public: const wxSize& size = wxDefaultSize, const wxString& name = wxDirDialogNameStr); +#if wxOSX_USE_COCOA + ~wxDirDialog(); +#endif + virtual int ShowModal(); - + #if wxOSX_USE_COCOA virtual void ShowWindowModal(); virtual void ModalFinishedCallback(void* panel, int returnCode); -#endif +#endif protected: DECLARE_DYNAMIC_CLASS(wxDirDialog) + +#if wxOSX_USE_COCOA + WX_NSObject m_sheetDelegate; +#endif }; #endif