invalidate best size cache when GTK style changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
718e35a651
commit
6dd18972d5
@ -4230,6 +4230,9 @@ void wxWindowGTK::ApplyWidgetStyle(bool forceStyle)
|
||||
DoApplyWidgetStyle(style);
|
||||
gtk_rc_style_unref(style);
|
||||
}
|
||||
|
||||
// Style change may affect GTK+'s size calculation:
|
||||
InvalidateBestSize();
|
||||
}
|
||||
|
||||
void wxWindowGTK::DoApplyWidgetStyle(GtkRcStyle *style)
|
||||
|
@ -4230,6 +4230,9 @@ void wxWindowGTK::ApplyWidgetStyle(bool forceStyle)
|
||||
DoApplyWidgetStyle(style);
|
||||
gtk_rc_style_unref(style);
|
||||
}
|
||||
|
||||
// Style change may affect GTK+'s size calculation:
|
||||
InvalidateBestSize();
|
||||
}
|
||||
|
||||
void wxWindowGTK::DoApplyWidgetStyle(GtkRcStyle *style)
|
||||
|
Loading…
Reference in New Issue
Block a user