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 ) )
|
if ( list && list->HasFlag( wxLC_EDIT_LABELS ) )
|
||||||
{
|
{
|
||||||
verify_noerr(SetDataBrowserItemDataBooleanValue( itemData, true ));
|
verify_noerr(SetDataBrowserItemDataBooleanValue( itemData, true ));
|
||||||
err = noErr ;
|
|
||||||
}
|
}
|
||||||
break ;
|
break ;
|
||||||
default :
|
default :
|
||||||
if ( property >= kMinColumnId )
|
if ( property >= kMinColumnId )
|
||||||
{
|
{
|
||||||
wxMacCFStringHolder cfStr;
|
wxMacCFStringHolder cfStr(text);
|
||||||
|
verify_noerr( ::SetDataBrowserItemDataText( itemData, cfStr) );
|
||||||
if (text){
|
|
||||||
cfStr.Assign( text, wxLocale::GetSystemEncoding() );
|
|
||||||
err = ::SetDataBrowserItemDataText( itemData, cfStr );
|
|
||||||
err = noErr;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user