summaryrefslogtreecommitdiff
path: root/wx+/toggle_button.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:35 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:35 +0200
commit460091fb0b2ff114cc741372f15bb43b702ea3b1 (patch)
tree0562c2eda4c66969c6e6d0910080db9f5b0def3e /wx+/toggle_button.h
parent5.15 (diff)
downloadFreeFileSync-460091fb0b2ff114cc741372f15bb43b702ea3b1.tar.gz
FreeFileSync-460091fb0b2ff114cc741372f15bb43b702ea3b1.tar.bz2
FreeFileSync-460091fb0b2ff114cc741372f15bb43b702ea3b1.zip
5.16
Diffstat (limited to 'wx+/toggle_button.h')
-rw-r--r--wx+/toggle_button.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/wx+/toggle_button.h b/wx+/toggle_button.h
index 548def1d..858082d3 100644
--- a/wx+/toggle_button.h
+++ b/wx+/toggle_button.h
@@ -27,8 +27,7 @@ public:
}
void init(const wxBitmap& activeBmp,
- const wxBitmap& inactiveBmp,
- const wxString& tooltip);
+ const wxBitmap& inactiveBmp);
void setActive(bool value);
bool isActive() const { return active; }
@@ -56,11 +55,8 @@ private:
//######################## implementation ########################
inline
void ToggleButton::init(const wxBitmap& activeBmp,
- const wxBitmap& inactiveBmp,
- const wxString& tooltip)
+ const wxBitmap& inactiveBmp)
{
- SetToolTip(tooltip);
-
activeBmp_ = activeBmp;
inactiveBmp_ = inactiveBmp;
bgstack15