/////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/control.cpp
+// Name: src/osx/carbon/control.cpp
// Purpose: wxControl class
// Author: Stefan Csomor
// Modified by:
#include "wx/sizer.h"
#endif // WX_PRECOMP
-#include "wx/notebook.h"
-#include "wx/tabctrl.h"
-#include "wx/spinbutt.h"
-
-#include "wx/osx/uma.h"
#include "wx/osx/private.h"
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
if ( m_peer == NULL || !m_peer->IsOk() )
return;
+#if wxOSX_USE_CARBON
UInt32 keyCode, modifiers;
char charCode;
GetEventParameter( (EventRef)wxTheApp->MacGetCurrentEvent(), kEventParamKeyModifiers, typeUInt32, NULL, sizeof(UInt32), NULL, &modifiers );
m_peer->HandleKey( keyCode, charCode, modifiers );
+#else
+ // TODO
+#endif
}