Fixed a few compile things

Fixed wxListCtrl::SetItemState bug
  Tried to hunt down a bug in menu, which
    disappeared after recompiling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-01 10:26:14 +00:00
parent 34da0970a0
commit 30f82ea416
10 changed files with 123 additions and 35 deletions

View File

@@ -202,7 +202,7 @@ void wxMenuItem::SetText(const wxString& str)
void wxMenuItem::Check( bool check )
{
wxCHECK_RET( IsCheckable(), _("Can't check uncheckable item!") )
wxCHECK_RET( IsCheckable(), "Can't check uncheckable item!" )
m_isChecked = check;
gtk_check_menu_item_set_state( (GtkCheckMenuItem*)m_menuItem, (gint)check );
@@ -410,7 +410,7 @@ wxMenuItem *wxMenu::FindItem(int id) const
node = node->Next();
}
wxLogDebug(_("wxMenu::FindItem: item %d not found."), id);
wxLogDebug( "wxMenu::FindItem: item %d not found.", id);
return (wxMenuItem *) NULL;
}