// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
-// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
NSTabViewItem* hitItem = [slf tabViewItemAtPoint:nspt];
if (!hitItem) {
- *flags = wxBK_HITTEST_NOWHERE;
+ if ( flags )
+ *flags = wxBK_HITTEST_NOWHERE;
} else {
retval = [slf indexOfTabViewItem:hitItem];
- *flags = wxBK_HITTEST_ONLABEL;
+ if ( flags )
+ *flags = wxBK_HITTEST_ONLABEL;
}
return retval;