Disable CLIP_SIBLINGS style.

Fixes for getting best size.
Fixed some error in flag processing.    All according to patch #1523304.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-07-16 21:26:04 +00:00
parent 9ff1e31960
commit 2fbb8fbbed
3 changed files with 21 additions and 17 deletions

View File

@@ -131,6 +131,9 @@ bool wxControl::OS2CreateControl( const wxChar* zClassname,
else
label = m_label;
// clipping siblings does not yet work
dwStyle &= ~WS_CLIPSIBLINGS;
m_hWnd = (WXHWND)::WinCreateWindow( (HWND)GetHwndOf(pParent) // Parent window handle
,(PSZ)zClass // Window class
,(PSZ)label.c_str() // Initial Text