X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbb8f29b4ad757acb73f74552d0761dced69a03e..761df41e86ceeed56d32c038a6c9f88554d4f47a:/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