diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-26 14:53:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-26 14:58:21 +0100 |
commit | 62be02711341f3a05b700d4fc10794893f54521a (patch) | |
tree | 85e4c643b8d3539e5e5b05b613671b1484b7c3d1 /vcl | |
parent | 6cc9f9106ddea2c1e69ee6a1f7a1b64a19a0d0ba (diff) |
add EditBoxValue::clone
Change-Id: I03e74d766b85ddd61baa1dbf0f28a663931e7ec6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/nativecontrols.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/outdev/nativecontrols.cxx b/vcl/source/outdev/nativecontrols.cxx index 7a8e70ffc1b3..ce7d9b524952 100644 --- a/vcl/source/outdev/nativecontrols.cxx +++ b/vcl/source/outdev/nativecontrols.cxx @@ -150,6 +150,12 @@ PushButtonValue* PushButtonValue::clone() const return new PushButtonValue( *this ); } +EditBoxValue* EditBoxValue::clone() const +{ + assert( typeid( const EditBoxValue ) == typeid( *this )); + return new EditBoxValue( *this ); +} + // These functions are mainly passthrough functions that allow access to // the SalFrame behind a Window object for native widget rendering purposes. |