#include "wx/wx.h"
#endif
+
+#if !wxUSE_PROPSHEET
+#error Please set wxUSE_PROPSHEET to 1 in include/wx/msw/setup.h and recompile.
+#endif
+
#include "proplist.h"
IMPLEMENT_APP(MyApp)
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