[ 1492040 ] Prevent wxComboCtrl::GetPopupControl from failing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -159,7 +159,11 @@ public:
|
|||||||
virtual void SetPopupControl( wxComboPopup* popup );
|
virtual void SetPopupControl( wxComboPopup* popup );
|
||||||
|
|
||||||
// get interface class instance derived from wxComboPopup
|
// get interface class instance derived from wxComboPopup
|
||||||
wxComboPopup* GetPopupControl() const { return m_popupInterface; }
|
wxComboPopup* GetPopupControl()
|
||||||
|
{
|
||||||
|
EnsurePopupControl();
|
||||||
|
return m_popupInterface;
|
||||||
|
}
|
||||||
|
|
||||||
// get the popup window containing the popup control
|
// get the popup window containing the popup control
|
||||||
wxWindow *GetPopupWindow() const { return m_winPopup; }
|
wxWindow *GetPopupWindow() const { return m_winPopup; }
|
||||||
|
Reference in New Issue
Block a user