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:
@@ -315,6 +315,10 @@ wxWizardPage *wxWizard::GetCurrentPage() const
|
|||||||
|
|
||||||
wxSize wxWizard::GetPageSize() 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);
|
return wxSize(m_width, m_height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user