]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for TLW under X11.
authorRobert Roebling <robert@roebling.de>
Thu, 28 Mar 2002 09:08:58 +0000 (09:08 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 28 Mar 2002 09:08:58 +0000 (09:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/toplevel.cpp

index 7f014a8e63ee72c0f5ddc1ed3ac1acd29d5f1bcf..e3e46bdd74751d5cb3602bf2ed5be759b035aab4 100644 (file)
@@ -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)