small compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-12-15 19:49:48 +00:00
parent 8a0681f933
commit 1dbe87089b
2 changed files with 5 additions and 2 deletions

View File

@@ -747,8 +747,11 @@ void wxToolBar::DrawBlankButton(WXHDC hdc, int x, int y, int dx, int dy, int sta
}
}
void wxToolBar::DrawButton(WXHDC hdc, int x, int y, int dx, int dy, wxToolBarTool *tool, int state)
void wxToolBar::DrawButton(WXHDC hdc, int x, int y, int dx, int dy,
wxToolBarToolBase *toolBase, int state)
{
wxToolBarTool *tool = (wxToolBarTool *)toolBase;
int yOffset;
HBRUSH hbrOld, hbr;
BOOL bMaskCreated = FALSE;