Use HAVE_GTK2 rather than __NO_GTK__

This commit is contained in:
Zane U. Ji 2014-11-29 16:02:59 +08:00
parent b07d98ba4f
commit 589c744c27
1 changed files with 1 additions and 1 deletions

View File

@ -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 )
{