Fixed Show and Hide in PopUpMenu.

This commit is contained in:
spartanj
2010-12-05 05:03:48 -03:00
parent 17d39aaa3a
commit 3a75edae9a
3 changed files with 27 additions and 17 deletions

View File

@@ -655,8 +655,8 @@ void cEETest::MainClick( const cUIEvent * Event ) {
const cUIEventMouse * MouseEvent = reinterpret_cast<const cUIEventMouse*> ( Event );
if ( MouseEvent->Flags() & EE_BUTTON_RMASK ) {
Menu->Pos( MouseEvent->Pos() );
Menu->Show();
if ( Menu->Show() )
Menu->Pos( MouseEvent->Pos() );
}
}