removed (unused) nCtlColor parameter of OnCtlColor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
195df7a767
commit
9f368d0d59
@ -578,12 +578,11 @@ WXLRESULT wxChoice::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
|
||||
case WM_CTLCOLORLISTBOX:
|
||||
case WM_CTLCOLORSTATIC:
|
||||
{
|
||||
WXWORD nCtlColor;
|
||||
WXHDC hdc;
|
||||
WXHWND hwnd;
|
||||
UnpackCtlColor(wParam, lParam, &nCtlColor, &hdc, &hwnd);
|
||||
UnpackCtlColor(wParam, lParam, &hdc, &hwnd);
|
||||
|
||||
return (WXLRESULT)OnCtlColor(hdc, hwnd, nCtlColor,
|
||||
return (WXLRESULT)OnCtlColor(hdc, hwnd, 0,
|
||||
nMsg, wParam, lParam);
|
||||
}
|
||||
}
|
||||
|
@ -248,12 +248,11 @@ WXLRESULT wxComboBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
|
||||
// wxCB_READONLY
|
||||
case WM_CTLCOLOREDIT:
|
||||
case WM_CTLCOLORSTATIC:
|
||||
WXWORD nCtlColor;
|
||||
WXHDC hdc;
|
||||
WXHWND hwnd;
|
||||
UnpackCtlColor(wParam, lParam, &nCtlColor, &hdc, &hwnd);
|
||||
UnpackCtlColor(wParam, lParam, &hdc, &hwnd);
|
||||
|
||||
return (WXLRESULT)OnCtlColor(hdc, hwnd, nCtlColor, nMsg, wParam, lParam);
|
||||
return (WXLRESULT)OnCtlColor(hdc, hwnd, 0, nMsg, wParam, lParam);
|
||||
|
||||
case CB_SETCURSEL:
|
||||
// Selection was set with SetSelection. Update the value too.
|
||||
|
Loading…
Reference in New Issue
Block a user