Kaydet (Commit) de0c542c authored tarafından Caolán McNamara's avatar Caolán McNamara

tdf#114407 let tooltip children of non-nwf widgets be nwf themed

alternative is to not use themed text color when writing text
in non-nwf tooltips

Change-Id: I12556d5fd9a38c4b36f77c97144898f08fa4d738
Reviewed-on: https://gerrit.libreoffice.org/46312Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b2cd9dd3
...@@ -2248,7 +2248,8 @@ void Window::Show(bool bVisible, ShowFlags nFlags) ...@@ -2248,7 +2248,8 @@ void Window::Show(bool bVisible, ShowFlags nFlags)
// required here, because frames never show up in the child hierarchy - which should be fixed.... // required here, because frames never show up in the child hierarchy - which should be fixed....
// eg, the drop down of a combobox which is a system floating window // eg, the drop down of a combobox which is a system floating window
if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() && if( mpWindowImpl->mbFrame && GetParent() && GetParent()->IsCompoundControl() &&
GetParent()->IsNativeWidgetEnabled() != IsNativeWidgetEnabled() ) GetParent()->IsNativeWidgetEnabled() != IsNativeWidgetEnabled() &&
!(GetStyle() & WB_TOOLTIPWIN) )
{ {
EnableNativeWidget( GetParent()->IsNativeWidgetEnabled() ); EnableNativeWidget( GetParent()->IsNativeWidgetEnabled() );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment