X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e9ec7239f5395666be46b3edd3a6b889fecfe48..dd1462c3f99bbb5adef3a4b6cfd7e9e5edaca3f7:/src/generic/combog.cpp diff --git a/src/generic/combog.cpp b/src/generic/combog.cpp index 0db207c152..0987c8a856 100644 --- a/src/generic/combog.cpp +++ b/src/generic/combog.cpp @@ -436,7 +436,7 @@ bool wxGenericComboCtrl::PerformAction(const wxControlAction& action, bool processed = false; if ( action == wxACTION_COMBOBOX_POPUP ) { - if ( !m_isPopupShown ) + if ( !IsPopupShown() ) { ShowPopup(); @@ -445,7 +445,7 @@ bool wxGenericComboCtrl::PerformAction(const wxControlAction& action, } else if ( action == wxACTION_COMBOBOX_DISMISS ) { - if ( m_isPopupShown ) + if ( IsPopupShown() ) { HidePopup();