Compilation fix for !wxHAS_MSW_BACKGROUND_ERASE_HOOK case.
This doesn't actually change anything as wxHAS_MSW_BACKGROUND_ERASE_HOOK is always defined, except under WinCE where this file is not used anyhow, but do test it here for completeness. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1695,7 +1695,9 @@ void wxToolBar::OnMouseEvent(wxMouseEvent& event)
|
||||
// toolbar icons with comctl32.dll < 6.0.
|
||||
void wxToolBar::OnEraseBackground(wxEraseEvent& event)
|
||||
{
|
||||
#ifdef wxHAS_MSW_BACKGROUND_ERASE_HOOK
|
||||
MSWDoEraseBackground(event.GetDC()->GetHDC());
|
||||
#endif // wxHAS_MSW_BACKGROUND_ERASE_HOOK
|
||||
}
|
||||
|
||||
bool wxToolBar::HandleSize(WXWPARAM WXUNUSED(wParam), WXLPARAM lParam)
|
||||
|
Reference in New Issue
Block a user