projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed parameters to Blit()
[wxWidgets.git]
/
src
/
os2
/
statbox.cpp
diff --git
a/src/os2/statbox.cpp
b/src/os2/statbox.cpp
index a30d967d5945fcb6bb5c91d96b6a20075d488403..470c2380e974811690985ddf832d1f39fad443af 100644
(file)
--- a/
src/os2/statbox.cpp
+++ b/
src/os2/statbox.cpp
@@
-96,11
+96,12
@@
wxSize wxStaticBox::DoGetBestSize() const
int nCx;
int nCy;
int wBox;
+ wxFont vFont = GetFont();
wxGetCharSize( GetHWND()
,&nCx
,&nCy
- ,
(wxFont*)&GetFont()
+ ,
&vFont
);
GetTextExtent( wxGetWindowText(m_hWnd)
,&wBox