#pragma hdrstop
#endif
+#if wxUSE_STATTEXT
+
#ifndef WX_PRECOMP
#include "wx/event.h"
#include "wx/app.h"
m_windowStyle = style;
- long msStyle = WS_CHILD | WS_VISIBLE /* | WS_CLIPSIBLINGS */ ;
+ long msStyle = WS_CHILD | WS_VISIBLE;
+
+ if ( m_windowStyle & wxCLIP_SIBLINGS )
+ msStyle |= WS_CLIPSIBLINGS;
if (m_windowStyle & wxALIGN_CENTRE)
msStyle |= SS_CENTER;
else if (m_windowStyle & wxALIGN_RIGHT)
return wxWindow::MSWWindowProc(nMsg, wParam, lParam);
}
-
+#endif // wxUSE_STATTEXT