From: Vadim Zeitlin Date: Thu, 30 Dec 2010 22:37:10 +0000 (+0000) Subject: Compilation fixes for wxUniversal/MSW. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/402bacb37695e78e38d06aeffdbe0bb006090131 Compilation fixes for wxUniversal/MSW. Don't use wxMSW-specific functions when building wxUniversal. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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