X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fff801f2c858fa22766b20a78e5be25bc1eef00..dd9b4b7f114427e2fc089c4f1b2d4d43d7b003d4:/include/wx/mac/corefoundation/hid.h diff --git a/include/wx/mac/corefoundation/hid.h b/include/wx/mac/corefoundation/hid.h index 3789e81ff3..6ea4535f3a 100644 --- a/include/wx/mac/corefoundation/hid.h +++ b/include/wx/mac/corefoundation/hid.h @@ -41,16 +41,7 @@ #include -//Utility wrapper around CFArray -class wxCFArray -{ -public: - wxCFArray(CFTypeRef pData) : pArray((CFArrayRef) pData) {} - CFTypeRef operator [] (const int& nIndex) {return CFArrayGetValueAtIndex(pArray, nIndex); } - int Count() {return CFArrayGetCount(pArray);} -private: - CFArrayRef pArray; -}; +#include "wx/mac/corefoundation/cfwrappers.h" // // A wrapper around OS X HID Manager procedures.