added more wxUSE_TREE/LISTCTRL tests to fix compilation when they're set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -310,14 +310,17 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl
|
|||||||
|
|
||||||
case kEventControlActivate :
|
case kEventControlActivate :
|
||||||
case kEventControlDeactivate :
|
case kEventControlDeactivate :
|
||||||
if ( thisWindow->IsKindOf( CLASSINFO( wxTreeCtrl ) )
|
// FIXME: we should have a virtual function for this!
|
||||||
|| thisWindow->IsKindOf( CLASSINFO( wxListCtrl ) )
|
#if wxUSE_TREECTRL
|
||||||
)
|
if ( thisWindow->IsKindOf( CLASSINFO( wxTreeCtrl ) ) )
|
||||||
thisWindow->Refresh();
|
thisWindow->Refresh();
|
||||||
|
|
||||||
//thisWindow->MacActivateStateChanged() ;
|
|
||||||
break ;
|
|
||||||
#endif
|
#endif
|
||||||
|
#if wxUSE_LISTCTRL
|
||||||
|
if ( thisWindow->IsKindOf( CLASSINFO( wxListCtrl ) ) )
|
||||||
|
thisWindow->Refresh();
|
||||||
|
#endif
|
||||||
|
break ;
|
||||||
|
#endif // TARGET_API_MAC_OSX
|
||||||
|
|
||||||
// we emulate this event under Carbon CFM
|
// we emulate this event under Carbon CFM
|
||||||
case kEventControlSetFocusPart :
|
case kEventControlSetFocusPart :
|
||||||
|
Reference in New Issue
Block a user