X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbb8f29b4ad757acb73f74552d0761dced69a03e..92209a39661334baa1552f50cdbf9698053c34de:/samples/proplist/proplist.cpp diff --git a/samples/proplist/proplist.cpp b/samples/proplist/proplist.cpp index ab4dffc53b..af8c22b74e 100644 --- a/samples/proplist/proplist.cpp +++ b/samples/proplist/proplist.cpp @@ -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