Removed InheritsFrom and IsTypeOrInheritsFrom, now it's contained in IsType.

Fixed IsType in cGameObjects.
This commit is contained in:
spartanj@gmail.com
2011-08-22 22:41:56 -03:00
parent 4e70877ef1
commit d2c002f992
72 changed files with 413 additions and 115 deletions

View File

@@ -226,7 +226,7 @@ void cTextureGroupEditor::CreateWinMenu() {
}
void cTextureGroupEditor::FileMenuClick( const cUIEvent * Event ) {
if ( !Event->Ctrl()->IsTypeOrInheritsFrom( UI_TYPE_MENUITEM ) )
if ( !Event->Ctrl()->IsType( UI_TYPE_MENUITEM ) )
return;
const String& txt = reinterpret_cast<cUIMenuItem*> ( Event->Ctrl() )->Text();