From b8cc8770e8b36fdc054575cc921cdcfab56c2eaf Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 3 Feb 2003 13:41:19 +0000 Subject: changed name on windowID to window --- src/FbTk/Menu.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 29d60d4..b727588 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.cc,v 1.7 2003/01/24 12:19:15 fluxgen Exp $ +// $Id: Menu.cc,v 1.8 2003/02/03 13:41:19 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE @@ -140,7 +140,7 @@ Menu::Menu(MenuTheme &tm, int screen_num, ImageControl &imgctrl): Menu::~Menu() { menu.window.hide(); - if (shown && shown->windowID() == windowID()) + if (shown && shown->window() == window()) shown = (Menu *) 0; while (!menuitems.empty()) { -- cgit v0.11.2