diff --git a/src/msw/window.cpp b/src/msw/window.cpp index ff1861f06d..cd5f076e00 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -6545,7 +6545,7 @@ extern wxWindow *wxGetWindowFromHWND(WXHWND hWnd) win = wxFindWinFromHandle(hwnd); if ( !win ) { -#if wxUSE_RADIOBOX +#if wxUSE_RADIOBOX && !defined(__WXUNIVERSAL__) // native radiobuttons return DLGC_RADIOBUTTON here and for any // wxWindow class which overrides WM_GETDLGCODE processing to // do it as well, win would be already non NULL