From: Vadim Zeitlin Date: Sat, 28 Apr 2012 22:25:07 +0000 (+0000) Subject: Use generic wxAboutBox() in wxUniv/GTK. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6ce2b9f11fca76969fcdabbdaa8141b2ff80e16a 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 --- 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) {