Blind Tinderbox build fix according to simiar usage in carbon/listbox.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1624,6 +1624,7 @@ OSStatus wxMacDataBrowserControl::SetDisclosureColumn( DataBrowserPropertyID pro
|
||||
wxMacDataItem::wxMacDataItem()
|
||||
{
|
||||
m_data = NULL;
|
||||
|
||||
m_order = 0;
|
||||
m_colId = kTextColumnId; // for compat with existing wx*ListBox impls.
|
||||
}
|
||||
@@ -1934,7 +1935,10 @@ void wxMacDataItemBrowserControl::InsertColumn(int colId, DataBrowserPropertyTyp
|
||||
|
||||
columnDesc.propertyDesc.propertyID = (kMinColumnId + colId);
|
||||
columnDesc.propertyDesc.propertyType = colType;
|
||||
columnDesc.propertyDesc.propertyFlags = kDataBrowserListViewSortableColumn | kDataBrowserListViewTypeSelectColumn;
|
||||
columnDesc.propertyDesc.propertyFlags = kDataBrowserListViewSortableColumn;
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2
|
||||
columnDesc.propertyDesc.propertyFlags |= kDataBrowserListViewTypeSelectColumn;
|
||||
#endif
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
|
||||
columnDesc.propertyDesc.propertyFlags |= kDataBrowserListViewNoGapForIconInHeaderButton;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user