projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a7f61f7
)
Fix bug where labels were multicoloured if their length > box width using XP with...
author
Jamie Gadd
<jrgadd2@cs.latrobe.edu.au>
Thu, 23 Feb 2006 13:50:39 +0000
(13:50 +0000)
committer
Jamie Gadd
<jrgadd2@cs.latrobe.edu.au>
Thu, 23 Feb 2006 13:50:39 +0000
(13:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37683
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/statbox.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/statbox.cpp
b/src/msw/statbox.cpp
index 07b6e67c9fa4e35c66285dbb7c006ce34a10a1b2..bbd39a04dcd18fd723aeb842110b678b8bf2b51a 100644
(file)
--- a/
src/msw/statbox.cpp
+++ b/
src/msw/statbox.cpp
@@
-386,7
+386,7
@@
void wxStaticBox::PaintForeground(wxDC& dc, const RECT& WXUNUSED(rc))
const int x = 9;
// TODO: RTL?
- RECT rc = { x, 0, GetSize().x
- x
, y };
+ RECT rc = { x, 0, GetSize().x, y };
const wxString label = GetLabel();
::DrawText(hdc, label, label.length(), &rc, DT_SINGLELINE | DT_VCENTER);