From e98e8b43c06509adf339c719a7bb2d583ca8d684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 22 Oct 2004 13:31:10 +0000 Subject: [PATCH] removed Draw() method git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9447 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/input/MethodMenuItem.cpp | 15 --------------- src/servers/input/MethodMenuItem.h | 1 - 2 files changed, 16 deletions(-) diff --git a/src/servers/input/MethodMenuItem.cpp b/src/servers/input/MethodMenuItem.cpp index c83986e548..31fb8837ae 100644 --- a/src/servers/input/MethodMenuItem.cpp +++ b/src/servers/input/MethodMenuItem.cpp @@ -68,21 +68,6 @@ MethodMenuItem::GetContentSize(float *width, float *height) *height = MENUITEM_ICON_SIZE; } -/* -void -MethodMenuItem::Draw() -{ - BMenu *menu = Menu(); - - menu->PushState(); - - menu->MovePenTo(ContentLocation()); - DrawContent(); - menu->PopState(); - - BMenuItem::Draw(); -}*/ - void MethodMenuItem::DrawContent() diff --git a/src/servers/input/MethodMenuItem.h b/src/servers/input/MethodMenuItem.h index 41097568ab..02e95d031e 100644 --- a/src/servers/input/MethodMenuItem.h +++ b/src/servers/input/MethodMenuItem.h @@ -29,7 +29,6 @@ public: virtual ~MethodMenuItem(); - //virtual void Draw(); virtual void DrawContent(); virtual void GetContentSize(float *width, float *height);