From: Robert Roebling Date: Mon, 4 Sep 2006 08:52:29 +0000 (+0000) Subject: I forgot to commit this one. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/efb27c04d3045a6db679ec14c6a88b1d2276665d?ds=inline I forgot to commit this one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp index 5307cd148e..d2d737ae34 100644 --- a/src/msw/menuitem.cpp +++ b/src/msw/menuitem.cpp @@ -156,7 +156,7 @@ void wxMenuItem::Init() { 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?")); m_text = wxGetStockLabel(GetId(), wxSTOCK_WITH_ACCELERATOR|wxSTOCK_WITH_MNEMONIC); } @@ -353,7 +353,7 @@ void wxMenuItem::SetText(const wxString& txt) if (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?")); text = wxGetStockLabel(GetId(), wxSTOCK_WITH_ACCELERATOR|wxSTOCK_WITH_MNEMONIC); }