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:
Stefan Csomor
2001-10-20 19:57:27 +00:00
parent 9af175d227
commit 892e461e33
6 changed files with 32 additions and 10 deletions

View File

@@ -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 )