Make wxMac wxSpinCtrl emit killfocus events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-10-16 19:19:48 +00:00
parent 0f278d7763
commit c016394bc2
2 changed files with 10 additions and 5 deletions

View File

@@ -288,6 +288,8 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl
#endif
wxLogTrace(_T("Focus"), _T("focus lost(%p)"), wx_static_cast(void*, thisWindow));
wxPrintf( "Focus lost %s\n", thisWindow->GetClassInfo()->GetClassName() );
// remove this as soon as posting the synthesized event works properly
static bool inKillFocusEvent = false ;