summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-01 13:40:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:22 +0100
commit9472cfb459e1c18778eda63b6666184c259ce524 (patch)
treea3e62aa6a9e248660b290abbe7def12046c61148 /vcl/inc
parent048c7974836fb2e1dc66a4267a40ad43546c4c82 (diff)
extend property snaffling to listboxes etc.
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/button.hxx4
-rw-r--r--vcl/inc/vcl/fixed.hxx2
-rw-r--r--vcl/inc/vcl/lstbox.hxx1
3 files changed, 7 insertions, 0 deletions
diff --git a/vcl/inc/vcl/button.hxx b/vcl/inc/vcl/button.hxx
index 492f59a8da68..a4b1a76ad4b3 100644
--- a/vcl/inc/vcl/button.hxx
+++ b/vcl/inc/vcl/button.hxx
@@ -200,6 +200,7 @@ public:
void SetToggleHdl( const Link& rLink ) { maToggleHdl = rLink; }
const Link& GetToggleHdl() const { return maToggleHdl; }
+ virtual void take_properties(Window &rOther);
};
inline void PushButton::Check( sal_Bool bCheck )
@@ -232,6 +233,7 @@ public:
OKButton( Window* pParent, const ResId& rResId );
virtual void Click();
+ virtual void take_properties(Window &rOther);
};
// ----------------
@@ -254,6 +256,7 @@ public:
CancelButton( Window* pParent, const ResId& rResId );
virtual void Click();
+ virtual void take_properties(Window &rOther);
};
// --------------
@@ -276,6 +279,7 @@ public:
HelpButton( Window* pParent, const ResId& rResId );
virtual void Click();
+ virtual void take_properties(Window &rOther);
};
// ---------------
diff --git a/vcl/inc/vcl/fixed.hxx b/vcl/inc/vcl/fixed.hxx
index 63f094d0509d..a3834af6d9dc 100644
--- a/vcl/inc/vcl/fixed.hxx
+++ b/vcl/inc/vcl/fixed.hxx
@@ -74,6 +74,7 @@ public:
static Size CalcMinimumTextSize( Control const* pControl, long nMaxWidth = 0 );
Size CalcMinimumSize( long nMaxWidth = 0 ) const;
virtual Size GetOptimalSize(WindowSizeType eType) const;
+ virtual void take_properties(Window &rOther);
};
// -------------
@@ -108,6 +109,7 @@ public:
virtual void DataChanged( const DataChangedEvent& rDCEvt );
virtual Size GetOptimalSize(WindowSizeType eType) const;
+ virtual void take_properties(Window &rOther);
};
// ---------------
diff --git a/vcl/inc/vcl/lstbox.hxx b/vcl/inc/vcl/lstbox.hxx
index 526cbf46b62c..ba5ef311d6b9 100644
--- a/vcl/inc/vcl/lstbox.hxx
+++ b/vcl/inc/vcl/lstbox.hxx
@@ -227,6 +227,7 @@ public:
*/
using Control::GetIndexForPoint;
long GetIndexForPoint( const Point& rPoint, sal_uInt16& rPos ) const;
+ virtual void take_properties(Window &rOther);
};
// ----------------