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