X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09a9eb2069fe15a010efebe0b5378376a2c337fa..af7e24c33e1e6e00a7687ee965b921dbe60cdb36:/src/common/popupcmn.cpp diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 5b1a49504b..65a487e2de 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -478,7 +478,7 @@ void wxPopupComboWindow::PositionNearCombo() void wxPopupComboWindow::OnDismiss() { - m_combo->OnPopupDismiss(); + m_combo->OnPopupDismiss(true); } void wxPopupComboWindow::OnKeyDown(wxKeyEvent& event) @@ -552,7 +552,7 @@ void wxPopupWindowHandler::OnLeftDown(wxMouseEvent& event) default: // forgot to update the switch after adding a new hit test code? - wxFAIL_MSG( _T("unexpected HitTest() return value") ); + wxFAIL_MSG( wxT("unexpected HitTest() return value") ); // fall through case wxHT_WINDOW_CORNER: