projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7c519
)
Applied patch [ 675376 ] Improves wxStaticBoxSizer
author
Julian Smart
<julian@anthemion.co.uk>
Sun, 2 Feb 2003 14:58:56 +0000
(14:58 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Sun, 2 Feb 2003 14:58:56 +0000
(14:58 +0000)
(uses GetCharHeight() instead of guessing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19072
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/sizer.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/sizer.cpp
b/src/common/sizer.cpp
index dfe492531dff16e4ab2c88c23de567970ab1bab4..9e430cdb84bcbe1418c59dc14194bafda8279840 100644
(file)
--- a/
src/common/sizer.cpp
+++ b/
src/common/sizer.cpp
@@
-1419,8
+1419,8
@@
static void GetStaticBoxBorders( wxStaticBox *box,
*borderTop = 5;
else
#endif // __WXGTK__
- *borderTop =
15
;
- (void)box;
+ *borderTop =
box->GetCharHeight()
;
+
*borderOther = 5;
}