#ifndef _WX_HYPERLINK_H__
#define _WX_HYPERLINK_H__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "hyperlink.h"
-#endif
-
#include "wx/defs.h"
#if wxUSE_HYPERLINKCTRL
#ifndef _WX_XH_HYPERLINKH__
#define _WX_XH_HYPERLINKH__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "hyperlink.h"
-#endif
-
#include "wx/defs.h"
#if wxUSE_HYPERLINKCTRL
// Pre-compiled header stuff
//---------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "hyperlink.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
#if wxUSE_HYPERLINKCTRL
void wxHyperlinkCtrl::OnPopUpCopy( wxCommandEvent& WXUNUSED(event) )
{
+#if wxUSE_CLIPBOARD
if (!wxTheClipboard->Open())
return;
wxTextDataObject *data = new wxTextDataObject( m_url );
wxTheClipboard->SetData( data );
wxTheClipboard->Close();
+#endif // wxUSE_CLIPBOARD
}
#endif // wxUSE_HYPERLINKCTRL
// Pre-compiled header stuff
//---------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "hyperlink.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"