]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menuitem.cpp
setting clipping correctly
[wxWidgets.git] / src / motif / menuitem.cpp
index 9d096e847f31ccc2bfdc3cbbf608495ff41931fb..2b57e57d6accc64011b89a9b28b69c92c11c87b7 100644 (file)
@@ -179,7 +179,7 @@ void wxMenuItem::CreateItem (WXWidget menu, wxMenuBar * menuBar,
 
         if (m_text.IsEmpty())
         {
-            wxASSERT_MSG(wxIsStockId(GetId()), wxT("A non-stock menu item with an empty label?"));
+            wxASSERT_MSG(wxIsStockID(GetId()), wxT("A non-stock menu item with an empty label?"));
             txt = wxGetStockLabel(GetId(), wxSTOCK_WITH_ACCELERATOR|wxSTOCK_WITH_MNEMONIC);
         }