- m_hWnd = (WXHWND)::CreateWindow
- (
- T("STATIC"),
- T(""),
- WS_VISIBLE | WS_CHILD |
- SS_GRAYRECT | SS_SUNKEN, // | SS_ETCHEDFRAME,
- pos.x, pos.y, sizeReal.x, sizeReal.y,
- GetWinHwnd(parent),
- (HMENU)m_windowId,
- wxGetInstance(),
- NULL
- );
-
- if ( !m_hWnd )
- {
-#ifdef __WXDEBUG__
- wxLogDebug(T("Failed to create static control"));
-#endif
- return FALSE;
- }
+WXDWORD wxStaticLine::MSWGetStyle(long style, WXDWORD *exstyle) const
+{
+ // we never have border
+ style &= ~wxBORDER_MASK;
+ style |= wxBORDER_NONE;