/////////////////////////////////////////////////////////////////////////////
-// Name: hyperlink.cpp
+// Name: src/xrc/xh_hyperlink.cpp
// Purpose: Hyperlink control
// Author: David Norris <danorris@gmail.com>
// Modified by: Ryan Norton, Francesco Montorsi
// 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"
#pragma hdrstop
#endif
+#if wxUSE_XRC && wxUSE_HYPERLINKCTRL
+
//---------------------------------------------------------------------------
// Includes
//---------------------------------------------------------------------------
-#include "wx/hyperlink.h"
-#include "wx/utils.h" // wxLaunchDefaultBrowser
-#include "wx/xrc/xmlres.h"
#include "wx/xrc/xh_hyperlink.h"
-#if wxUSE_HYPERLINKCTRL
+#ifndef WX_PRECOMP
+#endif
+
+#include "wx/hyperlink.h"
+#include "wx/xrc/xmlres.h"
//===========================================================================
// Implementation
return IsOfClass(node, wxT("wxHyperlinkCtrl"));
}
-#endif // wxUSE_HYPERLINKCTRL
+#endif // wxUSE_XRC && wxUSE_HYPERLINKCTRL