Bitmap and menu updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -403,7 +403,7 @@ bool wxComboBox::ProcessEditMsg(
|
||||
switch(vFlag)
|
||||
{
|
||||
case KC_CHAR:
|
||||
return (HandleChar( SHORT1FROMMP(wParam)
|
||||
return (HandleChar( wParam
|
||||
,lParam
|
||||
,TRUE /* isASCII */
|
||||
));
|
||||
@@ -419,6 +419,13 @@ bool wxComboBox::ProcessEditMsg(
|
||||
));
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_SETFOCUS:
|
||||
if (SHORT1FROMMP((MPARAM)lParam) == TRUE)
|
||||
return(HandleSetFocus((WXHWND)(HWND)wParam));
|
||||
else
|
||||
return(HandleKillFocus((WXHWND)(HWND)wParam));
|
||||
break;
|
||||
}
|
||||
return FALSE;
|
||||
} // end of WinGuiBase_CComboBox::ProcessEditMsg
|
||||
@@ -440,6 +447,7 @@ MRESULT EXPENTRY wxComboEditWndProc(
|
||||
//
|
||||
// Forward some messages to the combobox
|
||||
//
|
||||
case WM_SETFOCUS:
|
||||
case WM_CHAR:
|
||||
{
|
||||
wxComboBox* pCombo = wxDynamicCast( pWin
|
||||
|
Reference in New Issue
Block a user