DP:
1. _() calls added where needed. 2. const added in params in postscrp.[h,cpp] in order to compile with _(). 3. Some .cvsignore added. (I did not found any .cvsignore in repository, it is rather hard to compile something without them...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,7 +193,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 );
|
||||
@@ -355,7 +355,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 NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user