From: Robert Roebling Date: Thu, 28 Mar 2002 09:08:58 +0000 (+0000) Subject: Compile fix for TLW under X11. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/85cb693c5d2004de748b69ef0d5313b17f04d78f Compile fix for TLW under X11. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)