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:
@@ -317,7 +317,7 @@ wxSize wxWizard::GetPageSize() const
|
|||||||
{
|
{
|
||||||
// make sure that the controls are created because otherwise m_width and
|
// make sure that the controls are created because otherwise m_width and
|
||||||
// m_height would be both still -1
|
// m_height would be both still -1
|
||||||
DoCreateControls();
|
wxConstCast(this, wxWizard)->DoCreateControls();
|
||||||
|
|
||||||
return wxSize(m_width, m_height);
|
return wxSize(m_width, m_height);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user