X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/229f6270305a7ff539f81f201956a609cdb1f84f..6270539bcf24f2ec32150a09f8aad383f5de0671:/src/mac/carbon/window.cpp diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index b43b781ada..22d291df2a 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "window.h" -#endif - #include "wx/wxprec.h" #include "wx/menu.h" @@ -603,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)