]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
Derive wxWebViewEvent from wxNotifyEvent.
[wxWidgets.git] / src / x11 / toplevel.cpp
index 0cf59dd5dcc75b494d641f12579156fba45c0c13..5da3d5b3b7cf4680d78f96f7435668d8de22d695 100644 (file)
@@ -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();