]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/toplevel.cpp
Restore stock item labels mistakenly removed by r68641.
[wxWidgets.git] / src / gtk1 / toplevel.cpp
index 19067668d0cff125bb00ae010c67778bf54758b2..22364cdcdc59e00a6b0f085136cacee9e2d39d95 100644 (file)
@@ -1100,7 +1100,7 @@ void wxTopLevelWindowGTK::SetIcons( const wxIconBundle &icons )
         return;
 
     wxIcon icon = icons.GetIcon(-1);
-    if (icon.Ok())
+    if (icon.IsOk())
     {
         wxMask *mask = icon.GetMask();
         GdkBitmap *bm = NULL;