summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ff7d906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39433
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef _WX_HYPERLINK_H__
#define _WX_HYPERLINK_H__
#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
#include "wx/defs.h"
#if wxUSE_HYPERLINKCTRL
#ifndef _WX_XH_HYPERLINKH__
#define _WX_XH_HYPERLINKH__
#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
#include "wx/defs.h"
#if wxUSE_HYPERLINKCTRL
// Pre-compiled header stuff
//---------------------------------------------------------------------------
// 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__
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#endif
#if wxUSE_HYPERLINKCTRL
#endif
#if wxUSE_HYPERLINKCTRL
void wxHyperlinkCtrl::OnPopUpCopy( wxCommandEvent& WXUNUSED(event) )
{
void wxHyperlinkCtrl::OnPopUpCopy( wxCommandEvent& WXUNUSED(event) )
{
if (!wxTheClipboard->Open())
return;
wxTextDataObject *data = new wxTextDataObject( m_url );
wxTheClipboard->SetData( data );
wxTheClipboard->Close();
if (!wxTheClipboard->Open())
return;
wxTextDataObject *data = new wxTextDataObject( m_url );
wxTheClipboard->SetData( data );
wxTheClipboard->Close();
+#endif // wxUSE_CLIPBOARD
}
#endif // wxUSE_HYPERLINKCTRL
}
#endif // wxUSE_HYPERLINKCTRL
// Pre-compiled header stuff
//---------------------------------------------------------------------------
// 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"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"