The value for wxstc.wxSTC_MASK_FOLDERS has to be -33554432 or maybe -0x2000000
or SetMarginMask should expect an unsigned int (I did not check that).
both
the following
print(string.format('%x',-33554432))
print(string.format('%x',-0x2000000))
print(string.format('%x',wxstc.wxSTC_MASK_FOLDERS))
print(-0x2000000 == wxstc.wxSTC_MASK_FOLDERS)
output:
fe000000
fe000000
fe000000
false
the values display identical string but are not equal.
Andre
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users