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

@@ -753,11 +753,17 @@ wxLogDialog::wxLogDialog(wxWindow *parent,
// add the details pane
#ifndef __SMARTPHONE__
#if wxUSE_COLLPANE
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);