X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0e92205a01c7d0ca6f381cc690cb5d4fa595c9..06cd40a8b92bb3836ba90aa9475daa0546d44c84:/include/wx/filedlg.h diff --git a/include/wx/filedlg.h b/include/wx/filedlg.h index 1f9b24715a..0ebe1f6a71 100644 --- a/include/wx/filedlg.h +++ b/include/wx/filedlg.h @@ -120,8 +120,6 @@ public: // create the window containing the extra controls we want to show in it typedef wxWindow *(*ExtraControlCreatorFunction)(wxWindow*); - // extra controls are currently supported in GTK and generic versions - // only currently virtual bool SupportsExtraControl() const { return false; } bool SetExtraControlCreator(ExtraControlCreatorFunction WXUNUSED(c)); @@ -155,6 +153,11 @@ protected: // returns true if control is created (if it already exists returns false) bool CreateExtraControl(); + // return true if SetExtraControlCreator() was called + bool HasExtraControlCreator() const + { return m_extraControlCreator != NULL; } + // get the size of the extra control by creating and deleting it + wxSize GetExtraControlSize(); private: ExtraControlCreatorFunction m_extraControlCreator;