[ 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:
@@ -254,8 +254,11 @@ public:
|
||||
|
||||
virtual ~wxOwnerDrawnComboBox();
|
||||
|
||||
// NULL popup can be used to indicate default interface
|
||||
virtual void SetPopupControl( wxComboPopup* popup );
|
||||
// Prevent app from using wxComboPopup
|
||||
void SetPopupControl(wxVListBoxComboPopup* popup)
|
||||
{
|
||||
DoSetPopupControl(popup);
|
||||
}
|
||||
|
||||
// wxControlWithItems methods
|
||||
virtual void Clear();
|
||||
@@ -296,6 +299,9 @@ protected:
|
||||
// OnDrawItem.
|
||||
virtual void OnDrawBackground( wxDC& dc, const wxRect& rect, int item, int flags ) const;
|
||||
|
||||
// NULL popup can be used to indicate default interface
|
||||
virtual void DoSetPopupControl(wxComboPopup* popup);
|
||||
|
||||
// clears all allocated client datas
|
||||
void ClearClientDatas();
|
||||
|
||||
|
Reference in New Issue
Block a user