Fixes needed to get transient popup windows working, also implement SetFont for OS X Cocoa for classes that support it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -291,7 +291,7 @@ void wxPopupTransientWindow::Popup(wxWindow *winFocus)
|
||||
m_focus->SetFocus();
|
||||
}
|
||||
|
||||
#if defined( __WXMSW__ ) || defined( __WXMAC__)
|
||||
#if defined( __WXMSW__ ) || (defined( __WXMAC__) && wxOSX_USE_CARBON)
|
||||
// MSW doesn't allow to set focus to the popup window, but we need to
|
||||
// subclass the window which has the focus, and not winFocus passed in or
|
||||
// otherwise everything else breaks down
|
||||
|
||||
Reference in New Issue
Block a user