-
- parent->AddChild(this);
-
- wxSize sizeReal = AdjustSize(size);
-
-// TODO:
-/*
- m_hWnd = (WXHWND)::CreateWindow
- (
- wxT("STATIC"),
- wxT(""),
- 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(wxT("Failed to create static control"));
-#endif