mirror of
https://github.com/reactos/reactos.git
synced 2025-07-15 18:04:09 +00:00
[SHELLFIND] Fix unsafe cast
This commit is contained in:
parent
fbdc08dceb
commit
2513c47452
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ HRESULT CSearchBar::ExecuteCommand(CComPtr<IContextMenu>& menu, UINT nCmd)
|
||||||
// *** ATL event handlers ***
|
// *** ATL event handlers ***
|
||||||
LRESULT CSearchBar::OnSetFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
|
LRESULT CSearchBar::OnSetFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
|
||||||
{
|
{
|
||||||
IUnknown_OnFocusChangeIS(m_pSite, reinterpret_cast<IUnknown*>(this), TRUE);
|
IUnknown_OnFocusChangeIS(m_pSite, static_cast<IDeskBand *>(this), TRUE);
|
||||||
bHandled = FALSE;
|
bHandled = FALSE;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue