// basic initialization
m_windowId = (id == -1) ? NewControlId() : id;
- m_backgroundColour = parent->GetBackgroundColour() ;
- m_foregroundColour = parent->GetForegroundColour() ;
-
SetName(name);
int x = pos.x;
SubclassWin(m_hWnd);
+ SetBestSize(size);
+
return TRUE;
}