pPage->SetSize(rect, wxSIZE_FORCE_EVENT);
}
+#if 0 // deactivate r65078 for the moment
// If the selected page is hidden at this point, the notebook
// has become visible for the first time after creation, and
// we postponed showing the page in ChangePage().
pPage->SetFocus();
}
}
+#endif
// Processing continues to next OnSize
event.Skip();
if ( nSel != wxNOT_FOUND )
{
wxNotebookPage *pPage = m_pages[nSel];
+#if 0 // deactivate r65078 for the moment
if ( IsShownOnScreen() )
{
pPage->Show( true );
// We Show() the selected page in our OnSize handler,
// unless it already is shown.
}
+#else
+ pPage->Show( true );
+ pPage->SetFocus();
+#endif
}
m_selection = nSel;
newSel, m_selection );
event.SetEventObject( this );
HandleWindowEvent( event );
+
+ m_selection = newSel;
}
else
{