Commit dda896d5 authored by jean-pierre charras's avatar jean-pierre charras

dialog fp lib table: fix compatibility issue with wx 2.8

parent 6bae852c
...@@ -348,9 +348,11 @@ public: ...@@ -348,9 +348,11 @@ public:
// We derive from DIALOG_SHIM so prior size will be used anyways. // We derive from DIALOG_SHIM so prior size will be used anyways.
// select the last selected page // select the last selected page
m_auinotebook->ChangeSelection( m_pageNdx ); m_auinotebook->SetSelection( m_pageNdx );
// fire pageChangedHandler() so m_cur_grid gets set // fire pageChangedHandler() so m_cur_grid gets set
// m_auinotebook->SetSelection will generate a pageChangedHandler()
// event call later, but too late.
wxAuiNotebookEvent uneventful; wxAuiNotebookEvent uneventful;
pageChangedHandler( uneventful ); pageChangedHandler( uneventful );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment