WinCE compilation fix: ifdef out HandlePaint() (see #10731)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1721,6 +1721,7 @@ bool wxToolBar::HandleSize(WXWPARAM WXUNUSED(wParam), WXLPARAM lParam)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __WXWINCE__
|
||||||
bool wxToolBar::HandlePaint(WXWPARAM wParam, WXLPARAM lParam)
|
bool wxToolBar::HandlePaint(WXWPARAM wParam, WXLPARAM lParam)
|
||||||
{
|
{
|
||||||
// erase any dummy separators which were used
|
// erase any dummy separators which were used
|
||||||
@@ -1839,7 +1840,7 @@ bool wxToolBar::HandlePaint(WXWPARAM wParam, WXLPARAM lParam)
|
|||||||
haveRefreshed = true;
|
haveRefreshed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif // wxUSE_UXTHEME
|
||||||
|
|
||||||
if (!haveRefreshed)
|
if (!haveRefreshed)
|
||||||
dc.DrawRectangle(rectItem);
|
dc.DrawRectangle(rectItem);
|
||||||
@@ -1864,6 +1865,7 @@ bool wxToolBar::HandlePaint(WXWPARAM wParam, WXLPARAM lParam)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif // __WXWINCE__
|
||||||
|
|
||||||
void wxToolBar::HandleMouseMove(WXWPARAM WXUNUSED(wParam), WXLPARAM lParam)
|
void wxToolBar::HandleMouseMove(WXWPARAM WXUNUSED(wParam), WXLPARAM lParam)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user