From 08e05167f868b3f2260aceff416a07706c6454c2 Mon Sep 17 00:00:00 2001 From: Cary Sandvig Date: Wed, 11 Apr 2001 20:56:41 +0000 Subject: [PATCH] one or two fewer warnings --- panda/src/gui/guiButton.I | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panda/src/gui/guiButton.I b/panda/src/gui/guiButton.I index 2e3ba5761f..d8e84b8579 100644 --- a/panda/src/gui/guiButton.I +++ b/panda/src/gui/guiButton.I @@ -89,6 +89,9 @@ INLINE void GuiButton::inactive(void) { case DOWN_ROLLOVER: switch_state(INACTIVE_ROLLOVER); break; + case INACTIVE: + case INACTIVE_ROLLOVER: + break; default: gui_cat->warning() << "got inactive from invalid state (" << (int)_state << "), button '" << this->get_name() << "'" << endl;