summaryrefslogtreecommitdiff
path: root/wx+/toggle_button.h
diff options
context:
space:
mode:
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