X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9317fd47263a9521466156d7bf0f7988000bf15..15d4df3c71597f424b5b98cd6d2776d00fc51782:/src/msw/radiobox.cpp?ds=sidebyside diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 857106acb0..a7e5101893 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -713,6 +713,7 @@ long wxRadioBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) { switch ( nMsg ) { +#ifndef __WIN16__ case WM_CTLCOLORSTATIC: // set the colour of the radio buttons to be the same as ours { @@ -726,6 +727,7 @@ long wxRadioBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) return (WXHBRUSH)brush->GetResourceHandle(); } +#endif // This is required for the radiobox to be sensitive to mouse input, // e.g. for Dialog Editor.