From 2b07c894973f857673223df6f9642d2bd9a22c57 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 10 Nov 2012 14:35:36 +0100 Subject: [PATCH] CTextBox: silence shadow warning --- src/gui/widget/textbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/textbox.h b/src/gui/widget/textbox.h index a308d05f9..fa8ff7ab9 100644 --- a/src/gui/widget/textbox.h +++ b/src/gui/widget/textbox.h @@ -146,7 +146,7 @@ class CTextBox void refresh(void); void scrollPageDown(const int pages); void scrollPageUp(const int pages); - void enableBackgroundPaint(bool mode = true){m_nPaintBackground = mode;}; + void enableBackgroundPaint(bool enable = true) { m_nPaintBackground = enable; }; bool setText(const std::string* newText, int _max_width = 0); void setTextColor(fb_pixel_t color_text){ m_textColor = color_text;}; void setBackGroundRadius(const int radius, const int type){m_nBgRadius = radius; m_nBgRadiusType = type;};