dialog fp lib table: fix compatibility issue with wx 2.8
This commit is contained in:
parent
6bae852cb9
commit
dda896d530
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue