Fixed the build by disabling MouseDown/Up/Moved() methods.

Added missing BMenu::sMenuInfo storage.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8195 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-06-27 21:35:45 +00:00
parent 71786a380c
commit ed52cdfd58
+4
View File
@@ -44,6 +44,8 @@
// Globals --------------------------------------------------------------------- // Globals ---------------------------------------------------------------------
menu_info BMenu::sMenuInfo;
static property_info prop_list[] = static property_info prop_list[] =
{ {
{ "Enabled", { B_GET_PROPERTY, 0 }, { "Enabled", { B_GET_PROPERTY, 0 },
@@ -1225,6 +1227,7 @@ status_t BMenu::DoCreateMsg(BMenuItem *ti, BMenu *tm, BMessage *m,
// Temporary mouse hooks // Temporary mouse hooks
#if 0
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
void BMenu::MouseDown(BPoint point) void BMenu::MouseDown(BPoint point)
{ {
@@ -1266,6 +1269,7 @@ void BMenu::MouseUp(BPoint point)
{ {
} }
#endif
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
status_t set_menu_info(menu_info *info) status_t set_menu_info(menu_info *info)
{ {