add implicit conversion to NSArray*
This commit is contained in:
parent
ef48d7f184
commit
c2ab36a2da
@ -53,6 +53,8 @@ public:
|
||||
return wxCFRefFromGet((E)CFArrayGetValueAtIndex(this->m_ptr, idx));
|
||||
}
|
||||
|
||||
operator WX_NSArray() { return (WX_NSArray) this->get(); }
|
||||
|
||||
wxCFRef<E> operator[](size_type idx) { return at(idx); }
|
||||
wxCFRef<E> front() { return at(0); }
|
||||
wxCFRef<E> back() { return at(size() - 1); }
|
||||
|
Loading…
Reference in New Issue
Block a user