| 108 | } |
| 109 | |
| 110 | BOOL SComboBox::FireEvent( EventArgs &evt ) |
| 111 | { |
| 112 | if(evt.idFrom == IDC_DROPDOWN_LIST && m_pDropDownWnd) |
| 113 | { |
| 114 | if(evt.GetID()==EventLBSelChanged::EventID) |
| 115 | { |
| 116 | OnSelChanged(); |
| 117 | return TRUE; |
| 118 | } |
| 119 | if(evt.GetID() == EventCmd::EventID) |
| 120 | { |
| 121 | CloseUp(); |
| 122 | return TRUE; |
| 123 | } |
| 124 | } |
| 125 | return SComboBase::FireEvent(evt); |
| 126 | } |
| 127 | |
| 128 | void SComboBox::OnScaleChanged(int nScale) |
| 129 | { |
nothing calls this directly
no test coverage detected