projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxStaticBitmap should have transparent background (fixes grey backgrounds
[wxWidgets.git]
/
src
/
univ
/
ctrlrend.cpp
diff --git
a/src/univ/ctrlrend.cpp
b/src/univ/ctrlrend.cpp
index 39f549ef1eb35ab387e0cbf3b8cc87e1e541c19d..ba9b9510506b3aead14166bd4dfdd449a16ea087 100644
(file)
--- a/
src/univ/ctrlrend.cpp
+++ b/
src/univ/ctrlrend.cpp
@@
-177,7
+177,8
@@
wxRect wxRenderer::StandardGetScrollbarRect(const wxScrollBar *scrollbar,
}
wxSize sizeTotal = scrollbar->GetClientSize();
}
wxSize sizeTotal = scrollbar->GetClientSize();
- wxCoord *start, *width, length, arrow;
+ wxCoord *start, *width;
+ wxCoord length, arrow;
wxRect rect;
if ( scrollbar->IsVertical() )
{
wxRect rect;
if ( scrollbar->IsVertical() )
{
@@
-813,7
+814,8
@@
void wxControlRenderer::DrawProgressBar(const wxGauge *gauge)
int steps = ((lenTotal + step - 1) * pos) / (max * step);
// calc the coords of one small rect
int steps = ((lenTotal + step - 1) * pos) / (max * step);
// calc the coords of one small rect
- wxCoord *px, dx, dy;
+ wxCoord *px;
+ wxCoord dx, dy;
if ( gauge->IsVertical() )
{
// draw from bottom to top: so first set y to the bottom
if ( gauge->IsVertical() )
{
// draw from bottom to top: so first set y to the bottom