git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43884
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (S_OK == hr)
{
hr = OleSetClipboard(NULL);
- if ( FAILED(hr) )
- {
- wxLogApiError(wxT("OleSetClipboard(NULL)"), hr);
- }
+ if ( FAILED(hr) )
+ {
+ wxLogApiError(wxT("OleSetClipboard(NULL)"), hr);
+ }
}
m_lastDataObject = NULL;
}
if (S_OK == hr)
{
hr = OleFlushClipboard();
- if ( FAILED(hr) )
- {
- wxLogApiError(wxT("OleFlushClipboard"), hr);
+ if ( FAILED(hr) )
+ {
+ wxLogApiError(wxT("OleFlushClipboard"), hr);
- return false;
- }
- return true;
- }
+ return false;
+ }
+ return true;
+ }
}
return false;
#else // !wxUSE_OLE_CLIPBOARD
if ( m_nativeFontInfoOk )
return m_nativeFontInfo.SetFaceName(faceName);
- m_faceName = faceName;
+ m_faceName = faceName;
return true;
}
}
else
#endif // defined(HDN_BEGINTRACKA)
- if ( nmhdr->hwndFrom == GetHwnd() )
+ if ( nmhdr->hwndFrom == GetHwnd() )
{
// almost all messages use NM_LISTVIEW
NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr;