From e3f33e4b1299660840fac0d17ff9e123f09e36cf Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Mon, 14 Jul 2008 09:49:05 +0200
Subject: [PATCH] Add dummy implementation for SetHelpId etc.

---
 toolkit/inc/layout/layout.hxx        |    5 +++++
 toolkit/source/vclcompat/wrapper.cxx |   18 ++++++++++++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/toolkit/inc/layout/layout.hxx b/toolkit/inc/layout/layout.hxx
index ff223e7..0d23eb3 100644
--- a/toolkit/inc/layout/layout.hxx
+++ b/toolkit/inc/layout/layout.hxx
@@ -46,6 +46,7 @@
 
 // FIXME: eventually wrap FieldUnit
 #include <vcl/fldunit.hxx>
+#include <vcl/smartid.hxx>
 // FIXME: eventually wrap this too ...
 #include <vcl/wintypes.hxx>
 
@@ -127,6 +128,10 @@ public:
     WinBits GetStyle();
     void SetStyle( WinBits nStyle );
     void SetUpdateMode( bool /*bUpdate*/ ) { }
+    void SetHelpId( ULONG id );
+    ULONG GetHelpId() const;
+    void SetSmartHelpId( SmartId const&, SmartIdUpdateMode mode=SMART_SET_SMART );
+    SmartId GetSmartHelpId() const;
 };
 
 class ControlImpl;
diff --git a/toolkit/source/vclcompat/wrapper.cxx b/toolkit/source/vclcompat/wrapper.cxx
index 95bc106..25604f4 100644
--- a/toolkit/source/vclcompat/wrapper.cxx
+++ b/toolkit/source/vclcompat/wrapper.cxx
@@ -215,6 +215,24 @@ VCLXWindow* Window::GetVCLXWindow()
     return GetWindow()->GetParent();
 }
 
+void Window::SetHelpId( ULONG )
+{
+}
+
+ULONG Window::GetHelpId() const
+{
+    return 0;
+}
+
+void Window::SetSmartHelpId( SmartId const&, SmartIdUpdateMode )
+{
+}
+
+SmartId Window::GetSmartHelpId() const
+{
+    return SmartId ();
+}
+
 struct ToolkitVclPropsMap
 {
     WinBits vclStyle;
-- 
1.5.6.3.317.g5d44c9.dirty


