[ 1506733 ] wxOwnerDrawnComboBox::SetPopupControl argument type check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -664,14 +664,14 @@ wxOwnerDrawnComboBox::~wxOwnerDrawnComboBox()
|
||||
m_popupInterface->ClearClientDatas();
|
||||
}
|
||||
|
||||
void wxOwnerDrawnComboBox::SetPopupControl( wxComboPopup* popup )
|
||||
void wxOwnerDrawnComboBox::DoSetPopupControl(wxComboPopup* popup)
|
||||
{
|
||||
if ( !popup )
|
||||
{
|
||||
popup = new wxVListBoxComboPopup();
|
||||
}
|
||||
|
||||
wxComboCtrl::SetPopupControl(popup);
|
||||
wxComboCtrl::DoSetPopupControl(popup);
|
||||
|
||||
wxASSERT(popup);
|
||||
m_popupInterface = (wxVListBoxComboPopup*) popup;
|
||||
|
Reference in New Issue
Block a user