Use HAVE_GTK2 rather than __NO_GTK__
This commit is contained in:
parent
b07d98ba4f
commit
589c744c27
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue