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:
@@ -110,7 +110,7 @@ protected:
|
|||||||
void CreateMask(WXHDC hDC, int xoffset, int yoffset, int dx, int dy);
|
void CreateMask(WXHDC hDC, int xoffset, int yoffset, int dx, int dy);
|
||||||
void DrawBlankButton(WXHDC hdc, int x, int y, int dx, int dy, int state);
|
void DrawBlankButton(WXHDC hdc, int x, int y, int dx, int dy, int state);
|
||||||
void DrawButton(WXHDC hdc, int x, int y, int dx, int dy,
|
void DrawButton(WXHDC hdc, int x, int y, int dx, int dy,
|
||||||
wxToolBarTool *tool, int state);
|
wxToolBarToolBase *tool, int state);
|
||||||
WXHBITMAP CreateDitherBitmap();
|
WXHBITMAP CreateDitherBitmap();
|
||||||
bool CreateDitherBrush();
|
bool CreateDitherBrush();
|
||||||
bool FreeDitherBrush();
|
bool FreeDitherBrush();
|
||||||
|
@@ -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;
|
int yOffset;
|
||||||
HBRUSH hbrOld, hbr;
|
HBRUSH hbrOld, hbr;
|
||||||
BOOL bMaskCreated = FALSE;
|
BOOL bMaskCreated = FALSE;
|
||||||
|
Reference in New Issue
Block a user