]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treebook.h
1. more accurate conversion from 8-bit wx color to 16-bit GDK color
[wxWidgets.git] / include / wx / treebook.h
index c7db5c24774f0912aa430bde9a9d8d0693fedb74..325aaa3521bf4548995fc75f0d3c641e320fea9b 100644 (file)
@@ -144,6 +144,9 @@ protected:
     // This subclass of wxBookCtrlBase accepts NULL page pointers (empty pages)
     virtual bool AllowNullPage() const { return true; }
 
+    // return the page corresponding to the tab at the specified position
+    virtual int HitTest(const wxPoint& pt, long *flags = NULL) const;
+
     // event handlers
     void OnTreeSelectionChange(wxTreeEvent& event);
     void OnTreeNodeExpandedCollapsed(wxTreeEvent& event);