On 10/18/10 5:53 AM, Jacek Kałucki wrote:
> Użytkownik Sibylle Koczian napisał:
>>> As far as Alignment having int values, Dabo wouldn't have let that happen. 
>>> However,
>>> wxPython objects *do* have int values for their Alignment property (the 
>>> wx.RIGHT etc.
>>> constants are all ints). So, I bet you've instantiated a raw wxPython object
>>> somewhere which makes the code in datanav.Form fail.
>>>
>>>
>> Comparing the original CklCategories.py from the website with my version
>> I find only trivial differences - certainly no instantiation of a raw
>> wxPython object.
>>
>
>
> Hi.
>
> Unfortunately, wx.Control base class has Alignment property in wx.ALIGN*
> format, which is an integer value, what conflicts with Dabo string based
> Alignment.
> All Dabo controls that derive from wx.Control, they has Alignment property,
> like dButton, dComboBox, etc., are affected with this issue.
> I don't know, maybe all Dabo controls should inherit from AlignmentMixin
> class?

Dabo's Alignment property trumps wx's, so it shouldn't be an issue.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to