On 7/10/11 9:12 AM, Jacek Kałucki wrote:
> Hi.
>
> I was always intrigued, why while wxPython demos are perfectly still,
> Dabo form flickers like hell on Windows platform.
> Then I figured out that source of problem is intensive usage of the refresh 
> method.
> In my tests I commented out all refresh calls in dForm navigation methods 
> (next, etc.).
> I also disabled all conditional, platform dependent refreshes.
> As far I can't see negatives and the positives are especially visible
> on controls with background, like dBitmapButton or dImage.
> I tested my changes on Ubuntu GTK 2.24 wx 2.8.11 and Windows7 wx 2.8.12.
> Taking above, I vote for removing redundant refreshes or at last,
> adding method to verify if refresh is needed, e.g. 
> dPemMixin._checkPlatformRefresh,
> where we can force refreshes for Windows platform and wx older than 2.8.
>
+1

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

Reply via email to