dialog fp lib table: fix compatibility issue with wx 2.8

This commit is contained in:
jean-pierre charras 2014-09-22 11:37:22 +02:00
parent 6bae852cb9
commit dda896d530
1 changed files with 3 additions and 1 deletions

View File

@ -348,9 +348,11 @@ public:
// We derive from DIALOG_SHIM so prior size will be used anyways.
// select the last selected page
m_auinotebook->ChangeSelection( m_pageNdx );
m_auinotebook->SetSelection( m_pageNdx );
// fire pageChangedHandler() so m_cur_grid gets set
// m_auinotebook->SetSelection will generate a pageChangedHandler()
// event call later, but too late.
wxAuiNotebookEvent uneventful;
pageChangedHandler( uneventful );