]> git.saurik.com Git - wxWidgets.git/commitdiff
adding lowlevel hook to listbox
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 29 May 2008 14:13:45 +0000 (14:13 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 29 May 2008 14:13:45 +0000 (14:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listbox.cpp

index a2a3704076ea7cd8b0ca398c86d04c115d3a4475..6e101d53a80c74082f697bbb46c7dddda900a523 100644 (file)
@@ -556,6 +556,17 @@ wxMacDataBrowserListControl::~wxMacDataBrowserListControl()
 {
 }
 
+void wxMacDataBrowserListControl::ItemNotification(
+                        const wxMacDataItem* itemID,
+                        DataBrowserItemNotification message,
+                        DataBrowserItemDataRef itemData)
+{
+    // hook specific browser-level (not item-level) processing here
+    
+    // call super for item level(wxMacDataItem->Notification) callback processing
+    wxMacDataItemBrowserControl::ItemNotification( itemID, message, itemData);
+}
+
 wxWindow * wxMacDataBrowserListControl::GetPeer() const
 {
     return wxDynamicCast( wxMacControl::GetPeer() , wxWindow );