From 5807e60c2ab2b74109fd1149252783fefa16522b Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 24 Nov 2006 11:33:53 +0000 Subject: [PATCH] Link fix for GTK 1.2 debug. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/unix/apptrait.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/unix/apptrait.h b/include/wx/unix/apptrait.h index b3166e62c3..67e903bdaa 100644 --- a/include/wx/unix/apptrait.h +++ b/include/wx/unix/apptrait.h @@ -42,9 +42,10 @@ public: #ifdef __WXGTK__ virtual wxString GetDesktopEnvironment() const; -#ifdef __WXDEBUG__ - virtual bool ShowAssertDialog(const wxString& msg); #endif + +#if defined(__WXDEBUG__) && defined(__WXGTK20__) + virtual bool ShowAssertDialog(const wxString& msg); #endif };