projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Up-ported code to make tree item visible when programmatically
[wxWidgets.git]
/
src
/
msw
/
tglbtn.cpp
diff --git
a/src/msw/tglbtn.cpp
b/src/msw/tglbtn.cpp
index f428a631fec81636c04bd1f820bdd08958cb2d08..58889e0fb962ac069b6a6d216f1c6ab7e5caf054 100644
(file)
--- a/
src/msw/tglbtn.cpp
+++ b/
src/msw/tglbtn.cpp
@@
-86,6
+86,10
@@
bool wxToggleButton::Create(wxWindow *parent, wxWindowID id,
#endif
long msStyle = BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP | WS_CHILD | WS_VISIBLE;
+
+ if ( m_windowStyle & wxCLIP_SIBLINGS )
+ msStyle |= WS_CLIPSIBLINGS;
+
#ifdef __WIN32__
if(m_windowStyle & wxBU_LEFT)
msStyle |= BS_LEFT;