]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/notebook.h
attempt to fix first click problem
[wxWidgets.git] / include / wx / msw / notebook.h
index a2e6f841837a8a0fd2b6c00865ccd518fc3a28a7..f515dada988bac85e6d54c03ff4d0afee460cdc0 100644 (file)
 // wxNotebook
 // ----------------------------------------------------------------------------
 
+/*
+ * Flags returned by HitTest
+ */
+
+#define wxNB_HITTEST_NOWHERE           1
+#define wxNB_HITTEST_ONICON            2
+#define wxNB_HITTEST_ONLABEL           4
+#define wxNB_HITTEST_ONITEM            6
+
 class WXDLLEXPORT wxNotebook : public wxNotebookBase
 {
 public:
@@ -103,6 +112,9 @@ public:
     // style.
   void SetTabSize(const wxSize& sz);
 
+
+  // Hit test
+  int HitTest(const wxPoint& pt, long& flags);
   // calculate the size of the notebook from the size of its page
   virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;