X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17e914373a348a6c1f432d06ecab0bced95773ac..5ac1d44aa499901b1a2e194292ba7a93112196ae:/src/xrc/xh_hyperlink.cpp diff --git a/src/xrc/xh_hyperlink.cpp b/src/xrc/xh_hyperlink.cpp index 21ea787243..a5a0cd3eb8 100644 --- a/src/xrc/xh_hyperlink.cpp +++ b/src/xrc/xh_hyperlink.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: hyperlink.cpp +// Name: src/xrc/hyperlink.cpp // Purpose: Hyperlink control // Author: David Norris // Modified by: Ryan Norton, Francesco Montorsi @@ -17,10 +17,6 @@ // 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" @@ -28,16 +24,19 @@ #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 @@ -72,4 +71,4 @@ bool wxHyperlinkCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxHyperlinkCtrl")); } -#endif // wxUSE_HYPERLINKCTRL +#endif // wxUSE_XRC && wxUSE_HYPERLINKCTRL