[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : luke
Repository : xara
Revision : 943
Date : Wed May 3 09:26:24 BST 2006
Changed paths:
M /Trunk/XaraLX/wxOil/camelot.cpp
Fix for failure to get Fn keys whilst 'focus' is on layers gallery
Diff:
Index: Trunk/XaraLX/wxOil/camelot.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camelot.cpp (revision 942)
+++ Trunk/XaraLX/wxOil/camelot.cpp (revision 943)
@@ -212,12 +212,13 @@
// Whilst debugging focus can end-up NULL, so we protect ourselves
wxWindow* pFocusWnd = wxWindow::FindFocus();
wxClassInfo* pClassInfo = NULL != pFocusWnd ? pFocusWnd->GetClassInfo() : NULL;
- TRACEUSER( "luke", _T("Focus = %s
"), pClassInfo?pClassInfo->GetClassName():_T("None") );
+ TRACEUSER( "jlh92", _T("Focus = %s
"), pClassInfo?pClassInfo->GetClassName():_T("None") );
if( NULL != pFocusWnd &&
pClassInfo->IsKindOf( CLASSINFO(wxControl) ) &&
!pClassInfo->IsKindOf( CLASSINFO(wxButton) ) &&
!pClassInfo->IsKindOf( CLASSINFO(wxSlider) ) &&
- !pClassInfo->IsKindOf( CLASSINFO(wxCamArtControl) ) )
+ !pClassInfo->IsKindOf( CLASSINFO(wxCamArtControl) ) &&
+ !pClassInfo->IsKindOf( CLASSINFO(wxCamDrawControl) ) )
{
event.Skip();
return;
Xara