X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/453c9e3b0bad19ff91fb280183c34e5df7e24011..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/generic/aboutdlgg.h diff --git a/include/wx/generic/aboutdlgg.h b/include/wx/generic/aboutdlgg.h index 681cc987df..c275ed7ba7 100644 --- a/include/wx/generic/aboutdlgg.h +++ b/include/wx/generic/aboutdlgg.h @@ -17,15 +17,15 @@ #include "wx/dialog.h" -class WXDLLIMPEXP_CORE wxAboutDialogInfo; -class WXDLLIMPEXP_CORE wxSizer; -class WXDLLIMPEXP_CORE wxSizerFlags; +class WXDLLIMPEXP_FWD_ADV wxAboutDialogInfo; +class WXDLLIMPEXP_FWD_CORE wxSizer; +class WXDLLIMPEXP_FWD_CORE wxSizerFlags; // ---------------------------------------------------------------------------- // wxGenericAboutDialog: generic "About" dialog implementation // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxGenericAboutDialog : public wxDialog +class WXDLLIMPEXP_ADV wxGenericAboutDialog : public wxDialog { public: // constructors and Create() method @@ -64,6 +64,11 @@ protected: // add the text, if it's not empty, to the text sizer contents void AddText(const wxString& text); +#if wxUSE_COLLPANE + // add a wxCollapsiblePane containing the given text + void AddCollapsiblePane(const wxString& title, const wxString& text); +#endif // wxUSE_COLLPANE + private: // common part of all ctors void Init() { m_sizerText = NULL; } @@ -74,7 +79,7 @@ private: // unlike wxAboutBox which can show either the native or generic about dialog, // this function always shows the generic one -WXDLLIMPEXP_CORE void wxGenericAboutBox(const wxAboutDialogInfo& info); +WXDLLIMPEXP_ADV void wxGenericAboutBox(const wxAboutDialogInfo& info); #endif // wxUSE_ABOUTDLG