Small compile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-11-02 20:47:02 +00:00
parent 69a568f06b
commit 51babd0983
4 changed files with 16 additions and 3 deletions

View File

@@ -699,6 +699,7 @@ void wxTabView::ClearTabs(bool deleteTabs)
layerNode = nextLayerNode;
}
m_noTabs = 0;
m_tabSelection = -1;
}
@@ -1024,6 +1025,9 @@ void wxTabView::SetBackgroundColour(const wxColour& col)
void wxTabView::SetTabSelection(int sel, bool activateTool)
{
if ( sel==m_tabSelection )
return;
int oldSel = m_tabSelection;
wxTabControl *control = FindTabControlForId(sel);
wxTabControl *oldControl = FindTabControlForId(m_tabSelection);