// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma implementation "propsize.cpp"
- #pragma interface "propsize.cpp"
-#endif
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
enum
{
// menu items
- Minimal_Quit = 1,
+ Minimal_Quit = 1
};
// ----------------------------------------------------------------------------
SetStatusText(_T("Resize the frame to see how controls react"));
#endif // wxUSE_STATUSBAR
-#define AddLine(orient) \
- Add( new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxSize(2,2), orient), \
- 0, wxEXPAND)
+#if wxUSE_STATLINE
+ #define AddLine(orient) \
+ Add( new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxSize(2,2), orient), \
+ 0, wxEXPAND)
+#else
+ #define AddLine(orient) \
+ Add( 2, 2)
+#endif // wxUSE_STATLINE
#define AddButton(label,align) Add( \
new wxButton( this, wxID_ANY, label, wxDefaultPosition, wxSize(100,50)), \