// "draw" of m_client
//-----------------------------------------------------------------------------
+#ifndef __WXGTK20__
static void gtk_window_draw_callback( GtkWidget *widget, GdkRectangle *rect, wxWindow *win )
{
0, 0, -1, -1);
}
+#endif // GTK+ 1.x
+
// ----------------------------------------------------------------------------
// wxTopLevelWindowGTK itself
// ----------------------------------------------------------------------------
wxTopLevelWindowBase::SetIcons( icons );
DoSetIcon( icons.GetIcon( -1 ) );
- if( window )
+ if ( window )
+ {
wxSetIconsX11( (WXDisplay*)GDK_WINDOW_XDISPLAY( window ),
(WXWindow)GDK_WINDOW_XWINDOW( window ), icons );
+ }
}
// ----------------------------------------------------------------------------