Applied #487077: updates/fixes for BCC32

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2001-12-01 14:52:00 +00:00
parent f1104df133
commit f2d0790b1a
5 changed files with 144 additions and 82 deletions

View File

@@ -237,8 +237,18 @@ void MyApp::PropertyFormTest(bool useDialog)
propFrame->Initialize();
m_childWindow = propFrame;
}
wxWindow *panel = propDialog ? propDialog : propFrame->GetPropertyPanel();
// BCC32 does not like ?:
wxWindow *panel ;
if ( propDialog )
{
panel = propDialog ;
}
else
{
panel = propFrame->GetPropertyPanel() ;
}
wxLayoutConstraints* c;
#if 0