summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
eb1a78f)
When a preferences dialog is shown non-modally, it should still fit to the
contents of its pages, so move the code added for the modal case in r73624
to the base wxGenericPreferencesEditorImplBase class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74040
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dlg->AddPage(i->get());
}
dlg->AddPage(i->get());
}
m_dlg = dlg.get();
wxON_BLOCK_EXIT_NULL(m_dlg);
m_dlg = dlg.get();
wxON_BLOCK_EXIT_NULL(m_dlg);
// Restore the previously selected page, if any.
if ( m_currentPage != -1 )
dlg->SelectPage(m_currentPage);
// Restore the previously selected page, if any.
if ( m_currentPage != -1 )
dlg->SelectPage(m_currentPage);