From 402bacb37695e78e38d06aeffdbe0bb006090131 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 30 Dec 2010 22:37:10 +0000 Subject: [PATCH] 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 --- src/msw/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2