]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
Set HTML data even in Unicode mode
[wxWidgets.git] / src / mac / carbon / window.cpp
index c05fcac5352a65e015c4bb8b5ede35475f7224ad..22d291df2af99e651c0f7f6c95967ebba1e22e68 100644 (file)
@@ -599,7 +599,10 @@ void wxWindowMac::MacControlUserPaneActivateProc(bool activating)
 
 wxInt16 wxWindowMac::MacControlUserPaneFocusProc(wxInt16 action)
 {
-    return kControlNoPart ;
+       if ( AcceptsFocus() )
+               return 1 ;
+       else
+       return kControlNoPart ;
 }
 
 void wxWindowMac::MacControlUserPaneBackgroundProc(void* info)