[Dev] Re: [commits] (jed) [7587] Add border around calendar summary view.

Jed Burgess jed at osafoundation.org
Mon Oct 3 15:56:33 PDT 2005


This was actually a fix to Bug#3485, not 3504.

Jed

> Revision
>     7587 <http://viewcvs.osafoundation.org/chandler?view=rev&rev=7587>
> Author
>     jed
> Date
>     2005-10-03 15:55:51 -0700 (Mon, 03 Oct 2005)
>
>
>       Log Message
>
> Add border around calendar summary view.
> Fixes Bug#3504 <http://bugzilla.osafoundation.org/show_bug.cgi?id=3504>.
>
>
>       Modified Paths
>
>     * trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py
>       <#trunkchandlerparcelsosafframeworkblockscalendarCalendarCanvaspy>
>
>
>       Diff
>
>
>         Modified:
>         trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py
>         (7586 => 7587)
>
>--- trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py	2005-10-03 22:36:22 UTC (rev 7586)
>+++ trunk/chandler/parcels/osaf/framework/blocks/calendar/CalendarCanvas.py	2005-10-03 22:55:51 UTC (rev 7587)
>@@ -1255,6 +1255,10 @@
> class CanvasSplitterWindow(ContainerBlocks.SplitterWindow):
>     def instantiateWidget(self):
>         wxSplitter = super(CanvasSplitterWindow, self).instantiateWidget()
>+        if '__WXMAC__' in wx.PlatformInfo:
>+            wxSplitter.SetWindowStyle(wx.SP_LIVE_UPDATE | wx.BORDER_SIMPLE | wx.SP_3DSASH)
>+        else:
>+            wxSplitter.SetWindowStyle(wx.SP_LIVE_UPDATE | wx.STATIC_BORDER | wx.SP_3DSASH)
>         
>         #we use a proxy because at this splitter's instantiateWidget time,
>         #it's not wise to rely on calctrl's widget existence.
>@@ -1330,6 +1334,10 @@
> 
>     def __init__(self, parent, id, tzCharacterStyle, *arguments, **keywords):
>         super(wxCalendarControl, self).__init__(parent, id, *arguments, **keywords)
>+        if '__WXMAC__' in wx.PlatformInfo:
>+            self.SetWindowStyle(wx.BORDER_SIMPLE)
>+        else:
>+            self.SetWindowStyle(wx.STATIC_BORDER)
>     
>         app = wx.GetApp()
>         self.allDayCloseArrowImage = app.GetImage("AllDayCloseArrow_whitebg.png")
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Commits mailing list
>Commits at osafoundation.org
>http://lists.osafoundation.org/mailman/listinfo/commits
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/dev/attachments/20051003/e76627a4/attachment.htm


More information about the Dev mailing list