summaryrefslogtreecommitdiff
path: root/vcl/aqua
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-09-29 16:21:04 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-09-29 16:21:04 -0400
commit49b7f991a509528302d2d1987d3f6c38bd108798 (patch)
treec205628d3f47dc5b8dc7fe79c74263bc3b5eea4a /vcl/aqua
parent13b0fc7375271ed58f563306ef57f81808ac9289 (diff)
Ported autocorrect-accidental-caps-lock-vcl.diff from ooo-build.
Diffstat (limited to 'vcl/aqua')
-rw-r--r--vcl/aqua/inc/salframe.h2
-rw-r--r--vcl/aqua/source/window/salframe.cxx11
2 files changed, 13 insertions, 0 deletions
diff --git a/vcl/aqua/inc/salframe.h b/vcl/aqua/inc/salframe.h
index c2ded3267f45..ee4d0373b2cc 100644
--- a/vcl/aqua/inc/salframe.h
+++ b/vcl/aqua/inc/salframe.h
@@ -152,6 +152,8 @@ public:
virtual void Beep( SoundType eSoundType );
virtual const SystemEnvData* GetSystemData() const;
virtual SalPointerState GetPointerState();
+ virtual SalIndicatorState GetIndicatorState();
+ virtual void SimulateKeyPress( USHORT nKeyCode );
virtual void SetParent( SalFrame* pNewParent );
virtual bool SetPluginParent( SystemParentData* pNewParent );
virtual void SetExtendedFrameStyle( SalExtStyle );
diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx
index b14354e1b4bd..1fb97ee82048 100644
--- a/vcl/aqua/source/window/salframe.cxx
+++ b/vcl/aqua/source/window/salframe.cxx
@@ -1436,6 +1436,17 @@ SalPointerState AquaSalFrame::GetPointerState()
return state;
}
+SalFrame::SalIndicatorState AquaSalFrame::GetIndicatorState()
+{
+ SalIndicatorState aState;
+ aState.mnState = 0;
+ return aState;
+}
+
+void AquaSalFrame::SimulateKeyPress( USHORT /*nKeyCode*/ )
+{
+}
+
bool AquaSalFrame::SetPluginParent( SystemParentData* pNewParent )
{
// plugin parent may be killed unexpectedly by