dabo Commit
Revision 5808
Date: 2010-05-11 04:49:37 -0700 (Tue, 11 May 2010)
Author: Nate
Trac: http://trac.dabodev.com/changeset/5808

Changed:
U   trunk/dabo/ui/uiwx/dImage.py

Log:
The wx function GetScrollRange returns 1 when the scrollbar is present, not 
zero. 
I updated the GetScrollbarVisible method to look for a 1 when the platform is 
GTK.


Diff:
Modified: trunk/dabo/ui/uiwx/dImage.py
===================================================================
--- trunk/dabo/ui/uiwx/dImage.py        2010-05-10 16:32:03 UTC (rev 5807)
+++ trunk/dabo/ui/uiwx/dImage.py        2010-05-11 11:49:37 UTC (rev 5808)
@@ -311,7 +311,7 @@
 
        def _getImg(self):
                if self.__image is None:
-                       self.__image = wx.NullImage
+                       self.__image = wx.NullImage.Copy()
                return self.__image
 
        



_______________________________________________
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