projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor the code that decides if the 0.5 offset chousl be applied
[wxWidgets.git]
/
src
/
os2
/
control.cpp
diff --git
a/src/os2/control.cpp
b/src/os2/control.cpp
index 5b74ae803ef28a308b6d25f4bbab383b10dd787d..51eff786ee8367ce25756322c243caef4fbba3bb 100644
(file)
--- a/
src/os2/control.cpp
+++ b/
src/os2/control.cpp
@@
-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