diff --git a/headers/os/interface/MenuField.h b/headers/os/interface/MenuField.h index 4468d23910..dacd017178 100644 --- a/headers/os/interface/MenuField.h +++ b/headers/os/interface/MenuField.h @@ -148,8 +148,6 @@ private: alignment fAlign; float fDivider; bool fEnabled; - bool fSelected; - bool fTransition; bool fFixedSizeMB; thread_id fMenuTaskID; diff --git a/src/kits/interface/MenuField.cpp b/src/kits/interface/MenuField.cpp index 307ecdbcda..b4f55f77cf 100644 --- a/src/kits/interface/MenuField.cpp +++ b/src/kits/interface/MenuField.cpp @@ -456,9 +456,6 @@ BMenuField::KeyDown(const char* bytes, int32 numBytes) fMenuBar->StartMenuBar(0, true, true, &bounds); - fSelected = true; - fTransition = true; - bounds = Bounds(); bounds.right = fDivider; @@ -961,8 +958,6 @@ BMenuField::InitObject(const char* label) fMenuBar = NULL; fAlign = B_ALIGN_LEFT; fEnabled = true; - fSelected = false; - fTransition = false; fFixedSizeMB = false; fMenuTaskID = -1; fLayoutData = new LayoutData; @@ -1100,8 +1095,6 @@ BMenuField::_MenuTask() if (!LockLooper()) return 0; - fSelected = true; - fTransition = true; Invalidate(); UnlockLooper(); @@ -1117,8 +1110,6 @@ BMenuField::_MenuTask() } while (tracking); if (LockLooper()) { - fSelected = false; - fTransition = true; Invalidate(); UnlockLooper(); }