changed menu creation for choice and combobox (unique ids), control changed back to old selection code for non carbon targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -834,9 +834,13 @@ void wxControl::OnMouseEvent( wxMouseEvent &event )
|
||||
|
||||
if ( event.m_metaDown )
|
||||
modifiers |= cmdKey ;
|
||||
|
||||
// controlpart = FindControl( localwhere , window , &control ) ;
|
||||
|
||||
#if TARGET_CARBON
|
||||
control = FindControlUnderMouse( localwhere , window , &controlpart ) ;
|
||||
#else
|
||||
// control = FindControlUnderMouse( localwhere , window , &controlpart ) ;
|
||||
controlpart = FindControl( localwhere , window , &control ) ;
|
||||
#endif
|
||||
{
|
||||
/*
|
||||
if ( AcceptsFocus() && FindFocus() != this )
|
||||
|
||||
Reference in New Issue
Block a user