• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/univ/

Lines Matching refs:listbox

2 // Name:        src/univ/listbox.cpp
7 // RCS-ID: $Id: listbox.cpp 42816 2006-10-31 08:50:17Z RD $
32 #include "wx/listbox.h"
42 // selection listbox
48 // if pressing the mouse button in a multiselection listbox should toggle
51 // only when the mouse is released in the multi selection listbox)
65 // return the item under mouse, 0 if the mouse is above the listbox or
67 int HitTest(const wxListBox *listbox, const wxMouseEvent& event);
72 int HitTestUnsafe(const wxListBox *listbox, const wxMouseEvent& event);
73 int FixItemIndex(const wxListBox *listbox, int item);
74 bool IsValidIndex(const wxListBox *listbox, int item);
181 // single selection listbox
272 // the position of the item being added to a sorted listbox can't be
274 wxCHECK_RET( !IsSorted(), _T("can't insert items into sorted listbox") );
321 wxCHECK_RET( !IsSorted(), _T("can't set string in sorted listbox") );
492 // selecting an item in a single selection listbox deselects
515 // sanity check: a single selection listbox can't have more than one item
530 _T("use wxListBox::GetSelections for ths listbox") );
557 // refreshes (and hence flicker) in case when several listbox items are
697 wxLogTrace(_T("listbox"), _T("Refreshing all"));
714 wxLogTrace(_T("listbox"), _T("Refreshing items %d..%d (%d-%d)"),
784 wxLogTrace(_T("listbox"), _T("Repainting items %d..%d"),
913 // if the listbox is empty, still give it some non zero (even if
923 // we need the height of the entire listbox, not just of one line
930 // listbox actions
984 // empty listbox, we can't find anything in it
1010 // loop over all items in the listbox
1180 The numArg here is the listbox item index while the strArg is used
1187 to decide if the listbox should send the notification event (it is empty)
1352 else // wxLB_EXTENDED listbox
1354 // simple click in an extended sel listbox clears the old
1513 //else: the mouse wasn't presed over the listbox, only released here
1542 // the mouse messages when they happen inside the listbox
1550 // now that we have the mouse inside the listbox, do capture it
1560 // pass something into strArg to tell the listbox that it shouldn't
1564 // else: don't pass invalid index to the listbox