compilation fix: don't try to convert wxString to bool (apparently unnecessarily)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2817,19 +2817,13 @@ OSStatus wxMacDataBrowserListCtrlControl::GetSetItemData(DataBrowserItemID itemI
|
||||
if ( list && list->HasFlag( wxLC_EDIT_LABELS ) )
|
||||
{
|
||||
verify_noerr(SetDataBrowserItemDataBooleanValue( itemData, true ));
|
||||
err = noErr ;
|
||||
}
|
||||
break ;
|
||||
default :
|
||||
if ( property >= kMinColumnId )
|
||||
{
|
||||
wxMacCFStringHolder cfStr;
|
||||
|
||||
if (text){
|
||||
cfStr.Assign( text, wxLocale::GetSystemEncoding() );
|
||||
err = ::SetDataBrowserItemDataText( itemData, cfStr );
|
||||
err = noErr;
|
||||
}
|
||||
wxMacCFStringHolder cfStr(text);
|
||||
verify_noerr( ::SetDataBrowserItemDataText( itemData, cfStr) );
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user