#if wxUSE_GUI
-#include <carbon/carbon.h>
-
#include "wx/osx/core/dataview.h"
#include "wx/osx/private.h"
{
return this->m_PropertyID;
}
-
+
void SetPropertyID(DataBrowserPropertyID newPropertyID)
{
this->m_PropertyID = newPropertyID;
wxMacDataBrowserTableViewControl(void)
{
}
+ ~wxMacDataBrowserTableViewControl(void);
//
// callback handling
OSStatus GetPropertyFlags (DataBrowserPropertyID propertyID, DataBrowserPropertyFlags *flags ) const;
OSStatus GetPropertyID (DataBrowserItemDataRef itemData, DataBrowserPropertyID* propertyID) const; // returns for the passed item data reference the corresponding property ID
OSStatus GetPropertyID (DataBrowserTableViewColumnIndex index, DataBrowserPropertyID* propertyID) const; // returns for the passed column index the corresponding property ID
-
+
OSStatus IsUsedPropertyID(DataBrowserPropertyID propertyID) const; // checks if passed property id is used by the control; no error is returned if the id exists
OSStatus RemoveColumnByProperty(DataBrowserTableViewColumnID propertyID);
// container handling
//
OSStatus CloseContainer(DataBrowserItemID containerID);
-
+
OSStatus OpenContainer(DataBrowserItemID containerID);
protected :
virtual Boolean DataBrowserAddDragItemProc(DragReference dragRef, DataBrowserItemID itemID, ItemReference* itemRef) = 0;
virtual Boolean DataBrowserReceiveDragProc(DragReference dragRef, DataBrowserItemID itemID) = 0;
+//
+// event handler for hit testing
+///
+ void* m_macDataViewCtrlEventHandler;
+
private:
//
// wxWidget internal stuff