mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 00:37:14 +01:00
Fixes WinCE ComboBox styles
git-svn-id: trunk@25868 -
This commit is contained in:
parent
98c6019a1f
commit
ee1218030f
@ -640,8 +640,10 @@ begin
|
||||
// customization of Params
|
||||
with Params do
|
||||
begin
|
||||
// remove unsupported styles
|
||||
Flags := Flags and not (CBS_SIMPLE or CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE);
|
||||
// Flags := Flags and not (CBS_SIMPLE or CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE);
|
||||
// The following styles are suposed to be unsupported:
|
||||
// CBS_SIMPLE or CBS_OWNERDRAWFIXED or CBS_OWNERDRAWVARIABLE
|
||||
// But they work anyway, at least on the WM 6 Emulator
|
||||
pClassName := @ComboboxClsName;
|
||||
SubClassWndProc := @ComboBoxWindowProc;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user