]> git.saurik.com Git - wxWidgets.git/commitdiff
I forgot to commit this one.
authorRobert Roebling <robert@roebling.de>
Mon, 4 Sep 2006 08:52:29 +0000 (08:52 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 4 Sep 2006 08:52:29 +0000 (08:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/menuitem.cpp

index 5307cd148e5f90f96af15216966bd1b4439d8a19..d2d737ae34cd4da256647ac27699eda1beebfa78 100644 (file)
@@ -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);
     }