bug recently introduced in wxWizard::GetPageSize() fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-04-30 16:15:18 +00:00
parent 0e950afdf3
commit 01f39d1f1a

View File

@@ -315,6 +315,10 @@ wxWizardPage *wxWizard::GetCurrentPage() const
wxSize wxWizard::GetPageSize() const
{
// make sure that the controls are created because otherwise m_width and
// m_height would be both still -1
DoCreateControls();
return wxSize(m_width, m_height);
}