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:
@@ -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
|
||||
|
Reference in New Issue
Block a user