From 6b0b085ef4532d8991a377410b23e0409bae24c5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 30 Apr 2000 22:20:06 +0000 Subject: [PATCH] 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 --- src/generic/wizard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 35c43ccc32..e01a58440d 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -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); }