Make animation of combo-popdown optional.
Replace wxMiniSleep() + wxYield() implemenation by wxTimer based one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1870,7 +1870,8 @@ void wxComboCtrlBase::ShowPopup()
|
||||
wxRect popupWinRect( popupX, popupY, szp.x, szp.y );
|
||||
|
||||
m_popup = popup;
|
||||
if ( AnimateShow( popupWinRect, showFlags ) )
|
||||
if ( (m_iFlags & wxCC_IFLAG_DISABLE_POPUP_ANIM) ||
|
||||
AnimateShow( popupWinRect, showFlags ) )
|
||||
{
|
||||
DoShowPopup( popupWinRect, showFlags );
|
||||
}
|
||||
|
Reference in New Issue
Block a user