projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some random test apps that I've been playing with
[wxWidgets.git]
/
src
/
msw
/
checkbox.cpp
diff --git
a/src/msw/checkbox.cpp
b/src/msw/checkbox.cpp
index 8cbda8d72e70a5f01cfbc469a5c69c97bf5b9ff9..4a11fa5c469ebe02d04a9f29ed72661cc4610c07 100644
(file)
--- a/
src/msw/checkbox.cpp
+++ b/
src/msw/checkbox.cpp
@@
-215,7
+215,7
@@
wxSize wxCheckBox::DoGetBestSize() const
int wCheckbox, hCheckbox;
if ( !str.empty() )
{
- GetTextExtent(
wxStripMenuCodes
(str), &wCheckbox, &hCheckbox);
+ GetTextExtent(
GetLabelText
(str), &wCheckbox, &hCheckbox);
wCheckbox += s_checkSize + GetCharWidth();
if ( hCheckbox < s_checkSize )