summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2020-12-22 09:54:25 +1100
committerMike Kaganski <mike.kaganski@collabora.com>2021-01-02 08:48:13 +0100
commit159d9c30c474c6525643d832a38e640cd442ac7c (patch)
tree6b3a9516c74ef133d9c084a53a9a61ac2137f8d2 /include/vcl/outdev.hxx
parent152b651cd023b7f411affce49ff160c99826abd5 (diff)
tdf#74702 - vcl: introduce OutputDevice::CanEnableNativeWidget()
Change-Id: Idb43f57078702f64e9a80a2100b12fa0e6c3e155 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108130 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 052b0afb3086..c0e0c8ec12f8 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1963,6 +1963,10 @@ public:
public:
+ /** Determine if native widgets can be enabled
+ */
+ virtual bool CanEnableNativeWidget() const { return false; }
+
/** Query the platform layer for control support
*/
bool IsNativeControlSupported( ControlType nType, ControlPart nPart ) const;