diff options
Diffstat (limited to 'src/WinButton.cc')
-rw-r--r-- | src/WinButton.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc index d64034e..9ecbb9c 100644 --- a/src/WinButton.cc +++ b/src/WinButton.cc | |||
@@ -278,8 +278,7 @@ void WinButton::clear() { | |||
278 | FbTk::Button::clear(); | 278 | FbTk::Button::clear(); |
279 | drawType(); | 279 | drawType(); |
280 | } | 280 | } |
281 | 281 | void WinButton::updateAll() { | |
282 | void WinButton::update(FbTk::Subject *subj) { | ||
283 | 282 | ||
284 | // update the menu icon | 283 | // update the menu icon |
285 | if (m_type == MENUICON && !m_listen_to.empty()) { | 284 | if (m_type == MENUICON && !m_listen_to.empty()) { |
@@ -316,3 +315,7 @@ void WinButton::update(FbTk::Subject *subj) { | |||
316 | 315 | ||
317 | clear(); | 316 | clear(); |
318 | } | 317 | } |
318 | |||
319 | void WinButton::update(FbTk::Subject *subj) { | ||
320 | updateAll(); | ||
321 | } | ||