diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/wintypes.hxx | 1 | ||||
-rw-r--r-- | include/vcl/edit.hxx | 5 |
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 |