#include <bitmapdropdown.h>
Inheritance diagram for wxCamBitmapDropdownPopup:
Public Member Functions | |
wxCamBitmapDropdownPopup (DropDown *pDropDown=NULL) | |
virtual void | PaintComboControl (wxDC &dc, const wxRect &rect) |
virtual wxSize | GetAdjustedSize (intminWidth, intprefHeight, INT32 maxHeight) |
Definition at line 122 of file bitmapdropdown.h.
|
Definition at line 125 of file bitmapdropdown.h. 00125 : 00126 wxCamVListBoxComboPopup(pDropDown) 00127 { 00128 }
|
|
|
|
Function : wxCamBitmapDropdownPopup::PaintComboControl Author : Mikhail Tatarnikov Purpose : Paints the currently selected item into the control itself (not to the dropdown list) Returns : void Exceptions: Parameters: [in] wxDC& dc - context to draw to; [in] const wxRect& rect - the item size. Notes : The default behaivour is to leave the control blank if no item is selected. Reimplemented from wxVListBoxComboPopup. Definition at line 194 of file bitmapdropdown.cpp. 00195 { 00196 if (!(m_combo->GetWindowStyle() & wxODCB_STD_CONTROL_PAINT)) 00197 { 00198 // m_combo->DrawFocusBackground(dc,rect,0); 00199 00200 // Draw the control regardless whether it has an item selected or not. 00201 OnDrawItem(dc, rect, m_value, wxODCB_PAINTING_CONTROL); 00202 00203 return; 00204 } 00205 00206 wxComboPopup::PaintComboControl(dc,rect); 00207 }
|