From efb27c04d3045a6db679ec14c6a88b1d2276665d Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 4 Sep 2006 08:52:29 +0000 Subject: [PATCH] I forgot to commit this one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/menuitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.45.2