]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fixes for wxUniversal/MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Dec 2010 22:37:10 +0000 (22:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Dec 2010 22:37:10 +0000 (22:37 +0000)
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

index ff1861f06df7b97f5426deef25726a14e15f0464..cd5f076e0036c3c810758387e27f64aa08852b7f 100644 (file)
@@ -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