added wxConstCast to fix compilation error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-04-30 22:20:06 +00:00
parent 0ca080a91b
commit 6b0b085ef4

View File

@@ -317,7 +317,7 @@ wxSize wxWizard::GetPageSize() const
{
// make sure that the controls are created because otherwise m_width and
// m_height would be both still -1
DoCreateControls();
wxConstCast(this, wxWizard)->DoCreateControls();
return wxSize(m_width, m_height);
}