From 85cb693c5d2004de748b69ef0d5313b17f04d78f Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 28 Mar 2002 09:08:58 +0000 Subject: [PATCH] Compile fix for TLW under X11. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/toplevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp index 7f014a8e63..e3e46bdd74 100644 --- a/src/x11/toplevel.cpp +++ b/src/x11/toplevel.cpp @@ -424,7 +424,7 @@ void wxTopLevelWindowX11::SetIcons(const wxIconBundle& icons ) wxTopLevelWindowBase::SetIcons( icons ); DoSetIcon( icons.GetIcon( -1 ) ); - wxSetIconsX11( GetXDisplay(), GetXWindow(), icons ); + wxSetIconsX11( wxGlobalDisplay(), GetMainWindow(), icons ); } void wxTopLevelWindowX11::SetTitle(const wxString& title) -- 2.50.0