m_windowId = id == -1 ? NewControlId() : id;
- DWORD wstyle = WS_CHILD | WS_VISIBLE /* | WS_CLIPSIBLINGS */ ;
+ DWORD wstyle = WS_CHILD | WS_VISIBLE;
+
+ if ( style & wxCLIP_SIBLINGS )
+ wstyle |= WS_CLIPSIBLINGS;
+
// setting SBARS_SIZEGRIP is perfectly useless: it's always on by default
// (at least in the version of comctl32.dll I'm using), and the only way to
SetFieldsWidth();
}
-void wxStatusBar95::SetStatusWidths(int WXUNUSED(n), const int widths[])
+void wxStatusBar95::SetStatusWidths(int WXUNUSED_UNLESS_DEBUG(n), const int widths[])
{
wxASSERT_MSG( n == m_nFields, _T("field number mismatch") );