From cd43827415bad9b11ccefa634c1e3db6e2305e67 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 2 Aug 2005 21:55:32 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=6987 --- clientgui/ViewMessages.cpp | 6 +++--- clientgui/ViewMessages.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clientgui/ViewMessages.cpp b/clientgui/ViewMessages.cpp index c032c52129..89e7fb7e21 100644 --- a/clientgui/ViewMessages.cpp +++ b/clientgui/ViewMessages.cpp @@ -137,7 +137,7 @@ void CViewMessages::OnMessagesCopyAll( wxCommandEvent& WXUNUSED(event) ) { wxASSERT(pFrame); wxASSERT(wxDynamicCast(pFrame, CMainFrame)); -#ifndef wxUSE_CLIPBOARD +#ifdef wxUSE_CLIPBOARD wxInt32 iIndex = -1; wxInt32 iRowCount = 0; @@ -169,7 +169,7 @@ void CViewMessages::OnMessagesCopySelected( wxCommandEvent& WXUNUSED(event) ) { wxASSERT(pFrame); wxASSERT(wxDynamicCast(pFrame, CMainFrame)); -#ifndef wxUSE_CLIPBOARD +#ifdef wxUSE_CLIPBOARD wxInt32 iIndex = -1; @@ -336,7 +336,7 @@ wxInt32 CViewMessages::FormatMessage(wxInt32 item, wxString& strBuffer) const { } -#ifndef wxUSE_CLIPBOARD +#ifdef wxUSE_CLIPBOARD bool CViewMessages::OpenClipboard() { bool bRetVal = false; diff --git a/clientgui/ViewMessages.h b/clientgui/ViewMessages.h index 15c5c6f504..a2d258d3a3 100644 --- a/clientgui/ViewMessages.h +++ b/clientgui/ViewMessages.h @@ -66,7 +66,7 @@ protected: wxInt32 FormatTime( wxInt32 item, wxString& strBuffer ) const; wxInt32 FormatMessage( wxInt32 item, wxString& strBuffer ) const; -#ifndef wxUSE_CLIPBOARD +#ifdef wxUSE_CLIPBOARD bool m_bClipboardOpen; wxString m_strClipboardData; bool OpenClipboard();