]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/menuitem.mm
Fix the check for wxUSE_DATETIME in wxGenericValidator code.
[wxWidgets.git] / src / cocoa / menuitem.mm
index 11b575fa958a0707c43249049779aac4edc0d082..b5d1daa2202097a9c8a681afd284fa60496ca04b 100644 (file)
@@ -225,7 +225,7 @@ void wxMenuItem::SetBitmaps(const wxBitmap& bmpChecked,
     }
     else
     {
     }
     else
     {
-        wxASSERT_MSG(!bmpUnchecked.Ok(),wxT("Normal menu items should only have one bitmap"));
+        wxASSERT_MSG(!bmpUnchecked.IsOk(),wxT("Normal menu items should only have one bitmap"));
         [m_cocoaNSMenuItem setImage: bmpChecked.GetNSImage(true)];
     }
 }
         [m_cocoaNSMenuItem setImage: bmpChecked.GetNSImage(true)];
     }
 }