From 545a0b000fca32836dc4928300e28553b16989f8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 21 Nov 2001 18:45:54 +0000 Subject: [PATCH] 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 --- samples/proplist/proplist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.0