mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-13 04:42:12 +03:00
Removed InheritsFrom and IsTypeOrInheritsFrom, now it's contained in IsType.
Fixed IsType in cGameObjects.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user