]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toplevel.cpp
avoid deprecated functions with GTK3
[wxWidgets.git] / src / os2 / toplevel.cpp
index b60548850154fe81e5ad1e2a7275b766037d91d3..b7df26740e151c5fe5f37fd5823d22c0a1811370 100644 (file)
@@ -1015,7 +1015,7 @@ void wxTopLevelWindowOS2::SetIcons(
 
     const wxIcon& vIcon = rIcons.GetIconOfExactSize(32);
 
-    if (vIcon.Ok())
+    if (vIcon.IsOk())
     {
         ::WinSendMsg( m_hFrame
                      ,WM_SETICON