Compile fixes for wxUSE_COLLPANE=0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2012-02-22 17:35:21 +00:00
parent 96b57f0d2a
commit abe0903cd4
2 changed files with 8 additions and 0 deletions

View File

@@ -249,6 +249,7 @@ void wxGenericAboutDialog::AddText(const wxString& text)
AddControl(new wxStaticText(this, wxID_ANY, text));
}
#if wxUSE_COLLPANE
void wxGenericAboutDialog::AddCollapsiblePane(const wxString& title,
const wxString& text)
{
@@ -271,6 +272,7 @@ void wxGenericAboutDialog::AddCollapsiblePane(const wxString& title,
// NB: all the wxCollapsiblePanes must be added with a null proportion value
m_sizerText->Add(pane, wxSizerFlags(0).Expand().Border(wxBOTTOM));
}
#endif
#if !wxUSE_MODAL_ABOUT_DIALOG