From 08809d1886fbf942938f8e211701fa31a8fb501f Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 4 Nov 2007 19:39:12 +0000 Subject: [PATCH] build fixes for universal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/hyperlink.h | 8 ++++---- src/gtk/hyperlink.cpp | 2 +- src/gtk/window.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/wx/hyperlink.h b/include/wx/hyperlink.h index 6f9db016ca..9e0f90ddc1 100644 --- a/include/wx/hyperlink.h +++ b/include/wx/hyperlink.h @@ -9,8 +9,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef _WX_HYPERLINK_H__ -#define _WX_HYPERLINK_H__ +#ifndef _WX_HYPERLINK_H_ +#define _WX_HYPERLINK_H_ #include "wx/defs.h" @@ -143,7 +143,7 @@ typedef void (wxEvtHandler::*wxHyperlinkEventFunction)(wxHyperlinkEvent&); -#if defined(__WXGTK210__) +#if defined(__WXGTK210__) && !defined(__WXUNIVERSAL__) #include "wx/gtk/hyperlink.h" #else #include "wx/generic/hyperlink.h" @@ -153,4 +153,4 @@ typedef void (wxEvtHandler::*wxHyperlinkEventFunction)(wxHyperlinkEvent&); #endif // wxUSE_HYPERLINKCTRL -#endif // _WX_HYPERLINK_H__ +#endif // _WX_HYPERLINK_H_ diff --git a/src/gtk/hyperlink.cpp b/src/gtk/hyperlink.cpp index 4ea40b70c7..d9d9ea1420 100644 --- a/src/gtk/hyperlink.cpp +++ b/src/gtk/hyperlink.cpp @@ -23,7 +23,7 @@ #pragma hdrstop #endif -#if wxUSE_HYPERLINKCTRL && defined(__WXGTK210__) +#if wxUSE_HYPERLINKCTRL && defined(__WXGTK210__) && !defined(__WXUNIVERSAL__) #include "wx/hyperlink.h" diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index fdfa1b8f63..bd5ceeb856 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -3979,7 +3979,7 @@ void wxWindowGTK::ApplyWidgetStyle(bool forceStyle) void wxWindowGTK::DoApplyWidgetStyle(GtkRcStyle *style) { - wxSuspendStyleEvents s(this); + wxSuspendStyleEvents s(static_cast(this)); if (m_wxwindow) gtk_widget_modify_style(m_wxwindow, style); -- 2.45.2