#include <dropdown.h>
Inheritance diagram for wxCamVListBoxComboPopup:
Public Member Functions | |
wxCamVListBoxComboPopup (DropDown *pDropDown=NULL) | |
~wxCamVListBoxComboPopup () | |
virtual void | OnDrawItem (wxDC &dc, const wxRect &rect, intitem, intflags) const |
virtual wxCoord | OnMeasureItem (size_t item) const |
virtual wxCoord | OnMeasureItemWidth (size_t item) const |
Protected Attributes | |
DropDown * | m_pDropDown |
Friends | |
class | DropDown |
Definition at line 113 of file dropdown.h.
|
Definition at line 134 of file dropdown.cpp. 00134 : 00135 wxVListBoxComboPopup(), 00136 m_pDropDown(pDropDown) 00137 { 00138 }
|
|
Definition at line 140 of file dropdown.cpp.
|
|
Reimplemented from wxVListBoxComboPopup. Definition at line 144 of file dropdown.cpp. 00144 : CORRECT*/ item, int /*TYPENOTE: CORRECT*/ flags) const 00145 { 00146 dc.SetFont( m_useFont ); 00147 if (m_pDropDown) 00148 m_pDropDown->HandleDrawItemInternal(dc, rect, item, flags, TRUE); 00149 }
|
|
Reimplemented from wxVListBoxComboPopup. Definition at line 151 of file dropdown.cpp. 00152 { 00153 wxScreenDC dc; 00154 dc.SetFont( m_useFont ); 00155 if (m_pDropDown) 00156 return m_pDropDown->HandleDrawItemInternal(dc, wxRect(-1, -1, -1, -1), item, 0, FALSE).GetHeight(); 00157 else 00158 return 24; 00159 }
|
|
Reimplemented from wxVListBoxComboPopup. Definition at line 161 of file dropdown.cpp. 00162 { 00163 wxScreenDC dc; 00164 dc.SetFont( m_useFont ); 00165 if (m_pDropDown) 00166 return m_pDropDown->HandleDrawItemInternal(dc, wxRect(-1, -1, -1, -1), item, 0, FALSE).GetWidth(); 00167 else 00168 return -1; // default - will be measured from text width 00169 }
|
|
Definition at line 115 of file dropdown.h. |
|
Definition at line 125 of file dropdown.h. |