style,
constwxValidator& validator,
constwxString &name)
59 Create(parent, winid, pos,
size, style, validator, name);
68 longstyle,
constwxValidator& validator,
constwxString &name)
70 if(!wxListCtrl::Create(parent, winid, pos,
size, style, validator, name))
84 longitem = HitTest(event.GetPosition(),
flags);
85 if(item > -1 && (
flags& wxLIST_HITTEST_ONITEMICON))
88wxListEvent
le(wxEVT_LIST_ITEM_CHECKED,
GetId());
89 le.m_itemIndex = item;
90 le.SetEventObject(
this);
91GetEventHandler()->ProcessEvent(
le);
105 info.m_mask = wxLIST_MASK_IMAGE;
106 info.m_itemId = item;
110 return(
info.m_image == 1 ||
info.m_image == 3);
119 info.m_mask = wxLIST_MASK_IMAGE;
120 info.m_itemId = item;
121 if(GetItem(
info) &&
info.m_image == 3)
124SetItemImage(item, (checked ? 1 : 0), -1);
void OnMouseEvent(wxMouseEvent &event)
bool Create(wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_REPORT, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr)
bool IsChecked(long item) const
void SetChecked(long item, bool checked)
wxImageList * m_ImageList
wxDEFINE_EVENT(WIDTH_EVENT, wxCommandEvent)
IMPLEMENT_CLASS(CFloatingFrame, CFloatingFrameBaseClass) const static long kFloatFrameStyle
CFloatingFrame.
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
#define TRUE
bool replacment for C indicating true.
#define FALSE
bool replacment for C indicating false.
bool le(T x_, T y_, T round_)
wxImageList * CreateCheckboxImages(wxWindow *wnd)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4