WgTextDisplayPtr WgTextDisplay::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgTextDisplayPtr( static_cast<WgTextDisplay*>(pObject.RawPtr()) ); return 0; }
WgRefreshButtonPtr WgRefreshButton::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgRefreshButtonPtr( static_cast<WgRefreshButton*>(pObject.RawPtr()) ); return 0; }
WgImagePtr WgImage::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgImagePtr( static_cast<WgImage*>(pObject.RawPtr()) ); return 0; }
WgTablistPtr WgTablist::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgTablistPtr( static_cast<WgTablist*>(pObject.GetRealPtr()) ); return 0; }
WgPopupLayerPtr WgPopupLayer::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgPopupLayerPtr( static_cast<WgPopupLayer*>(pObject.RawPtr()) ); return 0; }
WgStackPanelPtr WgStackPanel::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgStackPanelPtr( static_cast<WgStackPanel*>(pObject.RawPtr()) ); return 0; }
WgPackListPtr WgPackList::Cast( const WgObjectPtr& pObj ) { if( pObj && pObj->IsInstanceOf(CLASSNAME) ) return WgPackListPtr( static_cast<WgPackList*>(pObj.RawPtr()) ); return 0; }
WgSimpleVolumeMeterPtr WgSimpleVolumeMeter::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgSimpleVolumeMeterPtr( static_cast<WgSimpleVolumeMeter*>(pObject.RawPtr()) ); return 0; }
WgLineEditorPtr WgLineEditor::Cast( const WgObjectPtr& pObject ) { if( pObject && pObject->IsInstanceOf(CLASSNAME) ) return WgLineEditorPtr( static_cast<WgLineEditor*>(pObject.RawPtr()) ); return 0; }