]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/radiobox.h
make this available everywhere
[wxWidgets.git] / include / wx / msw / radiobox.h
index f3cd4d83317fc9211a83f6914b54ff306921b33a..60f29cb922cdc61e8a86cf7a746638ef2ad106a0 100644 (file)
@@ -144,6 +144,16 @@ protected:
     virtual void DoSetItemToolTip(unsigned int n, wxToolTip * tooltip);
 #endif
 
+    virtual int GetItemFromPoint(const wxPoint& pt) const;
+
+#if wxUSE_HELP
+    // override virtual function with a platform-independent implementation
+    virtual wxString GetHelpTextAtPoint(const wxPoint & pt, wxHelpEvent::Origin origin) const
+    {
+        return wxRadioBoxBase::DoGetHelpTextAtPoint( this, pt, origin );
+    }
+#endif // wxUSE_HELP
+
 #ifndef __WXWINCE__
     virtual WXHRGN MSWGetRegionWithoutChildren();
 #endif // __WXWINCE__