From: Vadim Zeitlin Date: Wed, 21 Nov 2001 18:45:54 +0000 (+0000) Subject: fixed compilation somehow, the code is still broken! X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/545a0b000fca32836dc4928300e28553b16989f8?ds=inline fixed compilation somehow, the code is still broken! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/proplist/proplist.cpp b/samples/proplist/proplist.cpp index 8ecd8f2a76..92a762c866 100644 --- a/samples/proplist/proplist.cpp +++ b/samples/proplist/proplist.cpp @@ -187,7 +187,7 @@ void MyApp::PropertyListTest(bool useDialog) if (useDialog) { - view->ShowView(sheet, propDialog); + view->ShowView(sheet, (wxPanel *)propDialog); propDialog->Centre(wxBOTH); propDialog->Show(TRUE); } @@ -233,7 +233,7 @@ void MyApp::PropertyFormTest(bool useDialog) m_childWindow = propFrame; } - wxPanel *panel = propDialog ? propDialog : propFrame->GetPropertyPanel(); + wxWindow *panel = propDialog ? propDialog : propFrame->GetPropertyPanel(); wxLayoutConstraints* c; #if 0