Lines Matching refs:item
174 // Delete an item
175 bool wxTabCtrl::DeleteItem(int item)
177 return ( TabCtrl_DeleteItem( (HWND) GetHWND(), item) != FALSE );
205 bool wxTabCtrl::GetItemRect(int item, wxRect& wxrect) const
208 if ( !TabCtrl_GetItemRect( (HWND) GetHWND(), item, & rect) )
225 // Get the item text
226 wxString wxTabCtrl::GetItemText(int item) const
235 if (TabCtrl_GetItem( (HWND) GetHWND(), item, & tcItem) )
241 // Get the item image
242 int wxTabCtrl::GetItemImage(int item) const
247 if (TabCtrl_GetItem( (HWND) GetHWND(), item, & tcItem) )
253 // Get the item data
254 void* wxTabCtrl::GetItemData(int item) const
259 if (TabCtrl_GetItem( (HWND) GetHWND(), item, & tcItem) )
271 int item = TabCtrl_HitTest( (HWND) GetHWND(), & hitTestInfo ) ;
281 return item;
284 // Insert an item
285 bool wxTabCtrl::InsertItem(int item, const wxString& text, int imageId, void* data)
304 return (TabCtrl_InsertItem( (HWND) GetHWND(), item, & tcItem) != -1);
308 int wxTabCtrl::SetSelection(int item)
310 return (int) TabCtrl_SetCurSel( (HWND) GetHWND(), item );
320 // Set the text for an item
321 bool wxTabCtrl::SetItemText(int item, const wxString& text)
330 return ( TabCtrl_SetItem( (HWND) GetHWND(), item, & tcItem) != 0 );
333 // Set the image for an item
334 bool wxTabCtrl::SetItemImage(int item, int image)
340 return ( TabCtrl_SetItem( (HWND) GetHWND(), item, & tcItem) != 0 );
343 // Set the data for an item
344 bool wxTabCtrl::SetItemData(int item, void* data)
350 return ( TabCtrl_SetItem( (HWND) GetHWND(), item, & tcItem) != 0 );