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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user