From 6ce2b9f11fca76969fcdabbdaa8141b2ff80e16a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 28 Apr 2012 22:25:07 +0000 Subject: [PATCH] Use generic wxAboutBox() in wxUniv/GTK. The native GTK implementation is not used in wxUniv/GTK, so don't exclude the generic one as well. Notice that the same should be done for wxMSW and wxOSX too but we currently seem to use the native version even in wxUniv there. It would be better to consistently use the generic version in all wxUniv ports. Closes #14236. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/aboutdlgg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/generic/aboutdlgg.cpp b/src/generic/aboutdlgg.cpp index 9a81ffa006..d3d329c97f 100644 --- a/src/generic/aboutdlgg.cpp +++ b/src/generic/aboutdlgg.cpp @@ -309,7 +309,8 @@ void wxGenericAboutBox(const wxAboutDialogInfo& info, wxWindow* parent) // currently wxAboutBox is implemented natively only under these platforms, for // the others we provide a generic fallback here -#if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXGTK26__) +#if !defined(__WXMSW__) && !defined(__WXMAC__) && \ + (!defined(__WXGTK26__) || defined(__WXUNIVERSAL__)) void wxAboutBox(const wxAboutDialogInfo& info, wxWindow* parent) { -- 2.45.2