From 589c744c279d4d6b915265c27ca2b0e4801fcc7d Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Sat, 29 Nov 2014 16:02:59 +0800 Subject: [PATCH] Use HAVE_GTK2 rather than __NO_GTK__ --- src/myipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/myipc.cpp b/src/myipc.cpp index 802e0f9..197775f 100755 --- a/src/myipc.cpp +++ b/src/myipc.cpp @@ -129,7 +129,7 @@ IPCData *MyServerConnection::OnRequest wxWindow *window = wxTheApp->GetTopWindow(); if ( window ) { -#if defined ( __WXGTK__ ) && !defined ( __NO_GTK__ ) +#ifdef HAVE_GTK2 GtkWidget *wnd = window->GetHandle(); if ( wnd ) {