Użytkownik Paul McNett napisał:
> On 10/24/10 10:36 AM, Jacek Kałucki wrote:
>    
>> I can't understand what update() has to do with page change.
>>      
> For non-active pages in pageframes on Windows and Mac, when 
> dPemMixin.__onUpdate()
> function is called, self.Visible will be False because wx.Window.GetShown() 
> will
> return False in that case, so the update doesn't happen.
>
>    
>> Since this method updates current controls values from data source,
>> and if I didn't change my data, I don't want my controls to be
>> redundantly updated.
>>      
> I agree that we need to optimize this, but I thought fixing the problem would 
> be the
> priority.
>
> But actually, I think I should have just forced the update of non-active 
> pages from
> within __onUpdate(). I'll look into that right now.
>
>    
>> BTW, 'update' name is confusing with wx 'Update', but its purpose is differ.
>>      
> You are correct: Dabo doesn't necessarily name things the same as the 
> underlying
> UI-library names them.
>
>    


Ok. But if you do so, could you remove udate() call from
dabo.lib.datanav.Page.__onPageEnter() method?

-- 
Regards
Jacek Kałucki


_______________________________________________
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