Added a Refresh() to SetSelection() so programmatic tab changing works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -216,6 +216,7 @@ int wxNotebook::SetSelection(int nPage)
|
|||||||
ChangePage(m_nSelection, nPage);
|
ChangePage(m_nSelection, nPage);
|
||||||
SetControl32BitValue( (ControlHandle) m_macControl , m_nSelection + 1 ) ;
|
SetControl32BitValue( (ControlHandle) m_macControl , m_nSelection + 1 ) ;
|
||||||
|
|
||||||
|
Refresh();
|
||||||
return m_nSelection;
|
return m_nSelection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -216,6 +216,7 @@ int wxNotebook::SetSelection(int nPage)
|
|||||||
ChangePage(m_nSelection, nPage);
|
ChangePage(m_nSelection, nPage);
|
||||||
SetControl32BitValue( (ControlHandle) m_macControl , m_nSelection + 1 ) ;
|
SetControl32BitValue( (ControlHandle) m_macControl , m_nSelection + 1 ) ;
|
||||||
|
|
||||||
|
Refresh();
|
||||||
return m_nSelection;
|
return m_nSelection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user