styleManager.StyleChangeSignal().Connect( this, &Control::DoStyleChange );
// SetTheme
- GetImpl( styleManager ).ApplyThemeStyle( GetOwner() );
+ GetImpl( styleManager ).ApplyThemeStyle( Toolkit::Control( GetOwner() ) );
}
SetRequiresHoverEvents(mImpl->mFlags & REQUIRES_HOVER_EVENTS);
void Control::OnThemeChange( Toolkit::StyleManager styleManager )
{
- GetImpl( styleManager ).ApplyThemeStyle( GetOwner() );
+ GetImpl( styleManager ).ApplyThemeStyle( Toolkit::Control( GetOwner() ) );
}
void Control::OnFontChange( bool defaultFontChange, bool defaultFontSizeChange )