indentation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-12-09 19:49:40 +00:00
parent d19ebfaa43
commit 164e8d41ae
3 changed files with 13 additions and 13 deletions

View File

@@ -555,10 +555,10 @@ void wxClipboard::Clear()
if (S_OK == hr) if (S_OK == hr)
{ {
hr = OleSetClipboard(NULL); hr = OleSetClipboard(NULL);
if ( FAILED(hr) ) if ( FAILED(hr) )
{ {
wxLogApiError(wxT("OleSetClipboard(NULL)"), hr); wxLogApiError(wxT("OleSetClipboard(NULL)"), hr);
} }
} }
m_lastDataObject = NULL; m_lastDataObject = NULL;
} }
@@ -576,14 +576,14 @@ bool wxClipboard::Flush()
if (S_OK == hr) if (S_OK == hr)
{ {
hr = OleFlushClipboard(); hr = OleFlushClipboard();
if ( FAILED(hr) ) if ( FAILED(hr) )
{ {
wxLogApiError(wxT("OleFlushClipboard"), hr); wxLogApiError(wxT("OleFlushClipboard"), hr);
return false; return false;
} }
return true; return true;
} }
} }
return false; return false;
#else // !wxUSE_OLE_CLIPBOARD #else // !wxUSE_OLE_CLIPBOARD

View File

@@ -262,7 +262,7 @@ public:
if ( m_nativeFontInfoOk ) if ( m_nativeFontInfoOk )
return m_nativeFontInfo.SetFaceName(faceName); return m_nativeFontInfo.SetFaceName(faceName);
m_faceName = faceName; m_faceName = faceName;
return true; return true;
} }

View File

@@ -1893,7 +1893,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
} }
else else
#endif // defined(HDN_BEGINTRACKA) #endif // defined(HDN_BEGINTRACKA)
if ( nmhdr->hwndFrom == GetHwnd() ) if ( nmhdr->hwndFrom == GetHwnd() )
{ {
// almost all messages use NM_LISTVIEW // almost all messages use NM_LISTVIEW
NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr; NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr;