git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70671
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
AddControl(new wxStaticText(this, wxID_ANY, text));
}
AddControl(new wxStaticText(this, wxID_ANY, text));
}
void wxGenericAboutDialog::AddCollapsiblePane(const wxString& title,
const wxString& text)
{
void wxGenericAboutDialog::AddCollapsiblePane(const wxString& title,
const wxString& text)
{
// NB: all the wxCollapsiblePanes must be added with a null proportion value
m_sizerText->Add(pane, wxSizerFlags(0).Expand().Border(wxBOTTOM));
}
// NB: all the wxCollapsiblePanes must be added with a null proportion value
m_sizerText->Add(pane, wxSizerFlags(0).Expand().Border(wxBOTTOM));
}
#if !wxUSE_MODAL_ABOUT_DIALOG
#if !wxUSE_MODAL_ABOUT_DIALOG
// add the details pane
#ifndef __SMARTPHONE__
// add the details pane
#ifndef __SMARTPHONE__
wxCollapsiblePane * const
collpane = new wxCollapsiblePane(this, wxID_ANY, ms_details);
sizerTop->Add(collpane, wxSizerFlags(1).Expand().Border());
wxWindow *win = collpane->GetPane();
wxCollapsiblePane * const
collpane = new wxCollapsiblePane(this, wxID_ANY, ms_details);
sizerTop->Add(collpane, wxSizerFlags(1).Expand().Border());
wxWindow *win = collpane->GetPane();
+#else
+ wxPanel* win = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
+ wxBORDER_NONE);
+#endif
wxSizer * const paneSz = new wxBoxSizer(wxVERTICAL);
CreateDetailsControls(win);
wxSizer * const paneSz = new wxBoxSizer(wxVERTICAL);
CreateDetailsControls(win);