Removed notebook tab flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1254,8 +1254,13 @@ void wxNotebook::DoSetSize(int x, int y,
|
|||||||
int width, int height,
|
int width, int height,
|
||||||
int sizeFlags)
|
int sizeFlags)
|
||||||
{
|
{
|
||||||
|
wxSize old_client_size = GetClientSize();
|
||||||
|
|
||||||
wxControl::DoSetSize(x, y, width, height, sizeFlags);
|
wxControl::DoSetSize(x, y, width, height, sizeFlags);
|
||||||
|
|
||||||
|
wxSize new_client_size = GetClientSize();
|
||||||
|
|
||||||
|
if (old_client_size != new_client_size)
|
||||||
Relayout();
|
Relayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user