git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33619
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxNotebook::OnSize(wxSizeEvent& event)
{
void wxNotebook::OnSize(wxSizeEvent& event)
{
-#if wxUSE_UXTHEME
- // background bitmap size has changed, update the brush using it too
- UpdateBgBrush();
-#endif // wxUSE_UXTHEME
-
if ( GetPageCount() == 0 )
{
// Prevents droppings on resize, but does cause some flicker
if ( GetPageCount() == 0 )
{
// Prevents droppings on resize, but does cause some flicker
+#if wxUSE_UXTHEME
+ // background bitmap size has changed, update the brush using it too
+ UpdateBgBrush();
+#endif // wxUSE_UXTHEME
+
TabCtrl_AdjustRect(m_hwnd, false, &rc);
int width = rc.right - rc.left,
TabCtrl_AdjustRect(m_hwnd, false, &rc);
int width = rc.right - rc.left,