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:
@@ -624,7 +624,7 @@ bool wxTreeCtrl::ExpandItem( long item, int action )
|
||||
void wxTreeCtrl::DeleteItem( long item )
|
||||
{
|
||||
wxGenericTreeItem *pItem = FindItem( item );
|
||||
wxCHECK_RET( pItem != NULL, "wxTreeCtrl::DeleteItem: no such pItem." );
|
||||
wxCHECK_RET( pItem != NULL, _("wxTreeCtrl::DeleteItem: no such pItem.") );
|
||||
|
||||
pItem->m_parent->m_children.DeleteObject(pItem);
|
||||
|
||||
@@ -634,7 +634,7 @@ void wxTreeCtrl::DeleteItem( long item )
|
||||
void wxTreeCtrl::DeleteChildren( long item )
|
||||
{
|
||||
wxGenericTreeItem *pItem = FindItem( item );
|
||||
wxCHECK_RET( pItem != NULL, "wxTreeCtrl::DeleteChildren: no such pItem." );
|
||||
wxCHECK_RET( pItem != NULL, _("wxTreeCtrl::DeleteChildren: no such pItem.") );
|
||||
|
||||
pItem->m_children.Clear();
|
||||
|
||||
@@ -701,7 +701,7 @@ bool wxTreeCtrl::SelectItem(long itemId)
|
||||
{
|
||||
wxGenericTreeItem *pItem = FindItem(itemId);
|
||||
if ( !pItem ) {
|
||||
wxLogDebug("Can't select an item %d which doesn't exist.", itemId);
|
||||
wxLogDebug(_("Can't select an item %d which doesn't exist."), itemId);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user