summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 12:06:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 13:46:25 +0200
commitbbb1975d9c56b410023580a0e5fe95ed3e43496b (patch)
tree92f29de2cdc5b1d5e52d8497543e1b47aad15d14 /include
parentaec9462c1fc0fdc7437b69399cef5f3711301105 (diff)
convert WB_FORCECTRLBACKGROUND to bool field on Edit
Change-Id: I7a8731635bd22926df98cd70c8bb850408c1854c Reviewed-on: https://gerrit.libreoffice.org/43076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/tools/wintypes.hxx1
-rw-r--r--include/vcl/edit.hxx5
2 files changed, 4 insertions, 2 deletions
diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx
index 3c53438c4384..897e63e520e1 100644
--- a/include/tools/wintypes.hxx
+++ b/include/tools/wintypes.hxx
@@ -198,7 +198,6 @@ WinBits const WB_EARLYTOGGLE = SAL_CONST_INT64(0x4000000000);
WinBits const WB_PASSWORD = 0x01000000;
WinBits const WB_READONLY = 0x02000000;
WinBits const WB_NOHIDESELECTION = SAL_CONST_INT64(0x1000000000);
-WinBits const WB_FORCECTRLBACKGROUND = 0x80000000;
// Window-Bits for MultiLineEdit
WinBits const WB_IGNORETAB = 0x20000000;
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 75b571ff87ca..9588da8b6fe6 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -89,7 +89,8 @@ private:
mbInsertMode:1,
mbClickedInSelection:1,
mbIsSubEdit:1,
- mbActivePopup:1;
+ mbActivePopup:1,
+ mbForceControlBackground:1;
Link<Edit&,void> maModifyHdl;
Link<Edit&,void> maUpdateDataHdl;
Link<Edit&,void> maAutocompleteHdl;
@@ -266,6 +267,8 @@ public:
// returns the minimum size a bordered Edit should have given the current
// global style settings (needed by sc's inputwin.cxx)
static Size GetMinimumEditSize();
+
+ void SetForceControlBackground(bool b) { mbForceControlBackground = b; }
};
#endif // INCLUDED_VCL_EDIT_HXX