X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7282b0678a879077a109495cb3cd20b28ea9cf45..beee38cb41aa2ce4fbe9052bf4f70e1be184b553:/src/x11/toplevel.cpp

diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp
index f92651ed70..5da3d5b3b7 100644
--- a/src/x11/toplevel.cpp
+++ b/src/x11/toplevel.cpp
@@ -6,7 +6,7 @@
 // Created:     24.09.01
 // RCS-ID:      $Id$
 // Copyright:   (c) 2002 Julian Smart
-// License:     wxWindows licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -377,7 +377,7 @@ bool wxTopLevelWindowX11::ShowFullScreen(bool show, long style)
 
 void wxTopLevelWindowX11::DoSetIcon(const wxIcon& icon)
 {
-    if (icon.Ok() && X11GetMainWindow())
+    if (icon.IsOk() && X11GetMainWindow())
     {
 #if !wxUSE_NANOX
         XWMHints *wmHints = XAllocWMHints();