darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnStageConnection(arg2);
+ if(darg) {
+ (darg)->OnStageConnection(arg2);
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnStageConnectionSwigPublic(arg2);
+ if(darg) {
+ (darg)->OnStageConnectionSwigPublic(arg2);
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnStageDisconnection();
+ if(darg) {
+ (darg)->OnStageDisconnection();
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnStageDisconnectionSwigPublic();
+ if(darg) {
+ (darg)->OnStageDisconnectionSwigPublic();
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnChildAdd(*arg2);
+ if(darg) {
+ (darg)->OnChildAdd(*arg2);
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnChildAddSwigPublic(*arg2);
+ if(darg) {
+ (darg)->OnChildAddSwigPublic(*arg2);
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnChildRemove(*arg2);
+ if(darg) {
+ (darg)->OnChildRemove(*arg2);
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
darg = dynamic_cast<SwigDirector_ViewImpl *>(arg1);
{
try {
- (darg)->OnChildRemoveSwigPublic(*arg2);
+ if(darg) {
+ (darg)->OnChildRemoveSwigPublic(*arg2);
+ }
} catch (std::out_of_range& e) {
{
SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;