Fixed assertion that could appear under wxGTK if wxComboCtrl drop-down button was clicked too quickly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1833,7 +1833,10 @@ void wxComboCtrlBase::OnButtonClick()
|
|||||||
{
|
{
|
||||||
// Derived classes can override this method for totally custom
|
// Derived classes can override this method for totally custom
|
||||||
// popup action
|
// popup action
|
||||||
ShowPopup();
|
if ( !IsPopupWindowState(Visible) )
|
||||||
|
ShowPopup();
|
||||||
|
else
|
||||||
|
HidePopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxComboCtrlBase::ShowPopup()
|
void wxComboCtrlBase::ShowPopup()
|
||||||
|
Reference in New Issue
Block a user