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 (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;
}
}
m_lastDataObject = NULL;
}
if (S_OK == hr)
{
hr = OleFlushClipboard();
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
}
return false;
#else // !wxUSE_OLE_CLIPBOARD
if ( m_nativeFontInfoOk )
return m_nativeFontInfo.SetFaceName(faceName);
if ( m_nativeFontInfoOk )
return m_nativeFontInfo.SetFaceName(faceName);
}
else
#endif // defined(HDN_BEGINTRACKA)
}
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;
{
// almost all messages use NM_LISTVIEW
NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr;