This commit is contained in:
Cary Sandvig 2001-02-13 23:30:54 +00:00
parent 02ea8a3b82
commit 0793b1b516
2 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,6 @@ INLINE void GuiButton::up(void) {
gui_cat->warning() << "got up from invalid state (" << (int)_state << "),"
<< " button '" << this->get_name() << "'" << endl;
}
this->reset_behavior();
}
INLINE void GuiButton::down(void) {

View File

@ -466,6 +466,7 @@ void GuiButton::stop_behavior(void) {
}
void GuiButton::reset_behavior(void) {
gui_cat->debug() << this->get_name() << "::reset_behavior()" << endl;
GuiBehavior::reset_behavior();
if (_mgr == (GuiManager*)0L)
return;