[ 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:
@@ -156,7 +156,10 @@ public:
|
||||
|
||||
// set interface class instance derived from wxComboPopup
|
||||
// NULL popup can be used to indicate default in a derived class
|
||||
virtual void SetPopupControl( wxComboPopup* popup );
|
||||
void SetPopupControl( wxComboPopup* popup )
|
||||
{
|
||||
DoSetPopupControl(popup);
|
||||
}
|
||||
|
||||
// get interface class instance derived from wxComboPopup
|
||||
wxComboPopup* GetPopupControl()
|
||||
@@ -381,6 +384,9 @@ protected:
|
||||
// override the base class virtuals involved in geometry calculations
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
// NULL popup can be used to indicate default in a derived class
|
||||
virtual void DoSetPopupControl(wxComboPopup* popup);
|
||||
|
||||
// ensures there is atleast the default popup
|
||||
void EnsurePopupControl();
|
||||
|
||||
|
Reference in New Issue
Block a user