-
-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomDrawStateToPython return always all TCustomDrawState #478
Comments
To solve it I had to do a "cobbler" since the TCustomDrawState set is built directly with enumerators and I don't know how else to do it.
I ask help to Delphi guru... |
Another, I think, very "bad" solution which does not require a re-definition of enum and set could be:
Unfortunately in Vcl.ComCtrls TCustomDrawItem is defined as:
and not as:
which do not permits a simple:
|
Can you check with the latest commit? |
New commit solve the issue and WORKS perfectly !!!! |
The function CustomDrawStateToPython, in WrapVCLComCtrls.pas, instead to place the actual ACustomDrawState in the python object places all possible TCustomDrawStates.
The text was updated successfully, but these errors were encountered: