]> git.saurik.com Git - wxWidgets.git/commitdiff
add some properties
authorRobin Dunn <robin@alldunn.com>
Fri, 22 Sep 2006 21:46:26 +0000 (21:46 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 22 Sep 2006 21:46:26 +0000 (21:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 files changed:
wxPython/src/aui.i
wxPython/src/calendar.i
wxPython/src/gtk/_gdi.py
wxPython/src/gtk/aui.py
wxPython/src/gtk/aui_wrap.cpp
wxPython/src/gtk/calendar.py
wxPython/src/mac/_gdi.py
wxPython/src/mac/aui.py
wxPython/src/mac/aui_wrap.cpp
wxPython/src/mac/calendar.py
wxPython/src/msw/_gdi.py
wxPython/src/msw/aui.py
wxPython/src/msw/aui_wrap.cpp
wxPython/src/msw/calendar.py

index 68202adbf1405fa2af4fd98a32b546946617df11..75b34fbef7fe4b38d25afeffd0f0d6221fe83a34 100755 (executable)
@@ -251,7 +251,7 @@ The following example shows a simple implementation that utilizes
 //---------------------------------------------------------------------------
 
 %{
-// A wxDocArt lcass that knows how to forward virtuals to Python methods  
+// A wxDocArt class that knows how to forward virtuals to Python methods  
 class wxPyDockArt :  public wxDefaultDockArt
 {
     wxPyDockArt() : wxDefaultDockArt() {}
@@ -428,6 +428,43 @@ class wxPyDockArt :  public wxDefaultDockArt
 };
 
 
+//---------------------------------------------------------------------------
+
+%extend wxAuiMultiNotebook {
+    %property(PageCount, GetPageCount, doc="See `GetPageCount`");
+    %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+}
+
+
+%extend wxAuiNotebookEvent {
+    %property(OldSelection, GetOldSelection, SetOldSelection, doc="See `GetOldSelection` and `SetOldSelection`");
+    %property(Selection, GetSelection, SetSelection, doc="See `GetSelection` and `SetSelection`");
+}
+
+
+%extend wxAuiTabContainer {
+    %property(ActivePage, GetActivePage, SetActivePage, doc="See `GetActivePage` and `SetActivePage`");
+    %property(PageCount, GetPageCount, doc="See `GetPageCount`");
+    %property(Pages, GetPages, doc="See `GetPages`");
+}
+
+
+%extend wxFrameManager {
+    %property(AllPanes, GetAllPanes, doc="See `GetAllPanes`");
+    %property(ArtProvider, GetArtProvider, SetArtProvider, doc="See `GetArtProvider` and `SetArtProvider`");
+    %property(Flags, GetFlags, SetFlags, doc="See `GetFlags` and `SetFlags`");
+    %property(ManagedWindow, GetManagedWindow, SetManagedWindow, doc="See `GetManagedWindow` and `SetManagedWindow`");
+}
+
+
+%extend wxFrameManagerEvent {
+    %property(Button, GetButton, SetButton, doc="See `GetButton` and `SetButton`");
+    %property(DC, GetDC, SetDC, doc="See `GetDC` and `SetDC`");
+    %property(Pane, GetPane, SetPane, doc="See `GetPane` and `SetPane`");
+}
+
+
+//---------------------------------------------------------------------------
 
 #undef wxUSE_AUI
 #undef WXDLLIMPEXP_AUI
index 4afb971419a395f5e6f7aa64d643e9074dfbebef..1ebf884e2b211948d8d8414abc9c6d22dd94e85c 100644 (file)
@@ -103,6 +103,12 @@ public:
     wxColour GetBorderColour() const;
     wxFont GetFont() const;
     wxCalendarDateBorder GetBorder() const;
+
+    %property(BackgroundColour, GetBackgroundColour, SetBackgroundColour, doc="See `GetBackgroundColour` and `SetBackgroundColour`");
+    %property(Border, GetBorder, SetBorder, doc="See `GetBorder` and `SetBorder`");
+    %property(BorderColour, GetBorderColour, SetBorderColour, doc="See `GetBorderColour` and `SetBorderColour`");
+    %property(Font, GetFont, SetFont, doc="See `GetFont` and `SetFont`");
+    %property(TextColour, GetTextColour, SetTextColour, doc="See `GetTextColour` and `SetTextColour`");
 };
 
 //---------------------------------------------------------------------------
@@ -126,6 +132,8 @@ public:
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetDate())
     }
+
+    %property(WeekDay, GetWeekDay, SetWeekDay, doc="See `GetWeekDay` and `SetWeekDay`");
 };
 
 
@@ -449,6 +457,18 @@ The result codes are:
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetUpperDateLimit())
     }
+
+    %property(Date, GetDate, SetDate, doc="See `GetDate` and `SetDate`");
+    %property(HeaderColourBg, GetHeaderColourBg, doc="See `GetHeaderColourBg`");
+    %property(HeaderColourFg, GetHeaderColourFg, doc="See `GetHeaderColourFg`");
+    %property(HighlightColourBg, GetHighlightColourBg, doc="See `GetHighlightColourBg`");
+    %property(HighlightColourFg, GetHighlightColourFg, doc="See `GetHighlightColourFg`");
+    %property(HolidayColourBg, GetHolidayColourBg, doc="See `GetHolidayColourBg`");
+    %property(HolidayColourFg, GetHolidayColourFg, doc="See `GetHolidayColourFg`");
+    %property(LowerDateLimit, GetLowerDateLimit, SetLowerDateLimit, doc="See `GetLowerDateLimit` and `SetLowerDateLimit`");
+    %property(MonthControl, GetMonthControl, doc="See `GetMonthControl`");
+    %property(UpperDateLimit, GetUpperDateLimit, SetUpperDateLimit, doc="See `GetUpperDateLimit` and `SetUpperDateLimit`");
+    %property(YearControl, GetYearControl, doc="See `GetYearControl`");
 };
 
 %pythoncode {
index bb9c661996e0b4f9d578818be9d82c1087703546..d2882c2a477cd6791769162ae048ddee69808be0 100644 (file)
@@ -3647,7 +3647,7 @@ class DC(_core.Object):
         GetMultiLineTextExtent(wxString string, Font font=None) ->
            (width, height, lineHeight)
 
-        Get the width, height, decent and leading of the text using the
+        Get the width, height, and line height of the text using the
         current or specified font. Works for single as well as multi-line
         strings.
         """
index 6bf815bac651ac52504ce66aac14d8c96ab73668..aea724538ebbe9531d0f6e43ef87c054da1a75a9 100644 (file)
@@ -1170,6 +1170,10 @@ class FrameManager(_core.EvtHandler):
     GetFrame = wx._deprecated(GetManagedWindow,
                               "GetFrame is deprecated, use `GetManagedWindow` instead.")
 
+    AllPanes = property(GetAllPanes,doc="See `GetAllPanes`") 
+    ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`") 
+    Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`") 
+    ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`") 
 _aui.FrameManager_swigregister(FrameManager)
 
 class FrameManagerEvent(_core.Event):
@@ -1228,6 +1232,9 @@ class FrameManagerEvent(_core.Event):
     veto_flag = property(_aui.FrameManagerEvent_veto_flag_get, _aui.FrameManagerEvent_veto_flag_set)
     canveto_flag = property(_aui.FrameManagerEvent_canveto_flag_get, _aui.FrameManagerEvent_canveto_flag_set)
     dc = property(_aui.FrameManagerEvent_dc_get, _aui.FrameManagerEvent_dc_set)
+    Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`") 
+    DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`") 
+    Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`") 
 _aui.FrameManagerEvent_swigregister(FrameManagerEvent)
 
 class DockInfo(object):
@@ -1439,6 +1446,8 @@ class AuiNotebookEvent(_core.NotifyEvent):
 
     old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
     selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+    OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") 
+    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
 
 class AuiNotebookPage(object):
@@ -1552,6 +1561,9 @@ class AuiTabContainer(object):
         """AddButton(self, int id, Bitmap bmp)"""
         return _aui.AuiTabContainer_AddButton(*args, **kwargs)
 
+    ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`") 
+    PageCount = property(GetPageCount,doc="See `GetPageCount`") 
+    Pages = property(GetPages,doc="See `GetPages`") 
 _aui.AuiTabContainer_swigregister(AuiTabContainer)
 
 class AuiTabCtrl(_core.Control,AuiTabContainer):
@@ -1628,6 +1640,8 @@ class AuiMultiNotebook(_core.Control):
         """GetPage(self, size_t page_idx) -> Window"""
         return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
 
+    PageCount = property(GetPageCount,doc="See `GetPageCount`") 
+    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
 
 def PreAuiMultiNotebook(*args, **kwargs):
index b49c66df3e02c9c86b6d672c98f1438c904e9e87..d78cb06eabc83441d3d9e8b562900581f826fddf 100644 (file)
@@ -2897,7 +2897,7 @@ SWIG_From_size_t  (size_t value)
 }
 
 
-// A wxDocArt lcass that knows how to forward virtuals to Python methods  
+// A wxDocArt class that knows how to forward virtuals to Python methods  
 class wxPyDockArt :  public wxDefaultDockArt
 {
     wxPyDockArt() : wxDefaultDockArt() {}
index c6aa75d40cd301637cb1f1019347c8e218bb0033..8b66d7f2bfa45c0b01ec61c8806e5333e444fe3e 100644 (file)
@@ -161,6 +161,11 @@ class CalendarDateAttr(object):
         """GetBorder(self) -> int"""
         return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
 
+    BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`") 
+    Border = property(GetBorder,SetBorder,doc="See `GetBorder` and `SetBorder`") 
+    BorderColour = property(GetBorderColour,SetBorderColour,doc="See `GetBorderColour` and `SetBorderColour`") 
+    Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`") 
+    TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`") 
 _calendar.CalendarDateAttr_swigregister(CalendarDateAttr)
 
 class CalendarEvent(_core.DateEvent):
@@ -186,6 +191,7 @@ class CalendarEvent(_core.DateEvent):
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetDate())
 
+    WeekDay = property(GetWeekDay,SetWeekDay,doc="See `GetWeekDay` and `SetWeekDay`") 
 _calendar.CalendarEvent_swigregister(CalendarEvent)
 
 wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED
@@ -525,6 +531,17 @@ class CalendarCtrl(_core.Control):
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetUpperDateLimit())
 
+    Date = property(GetDate,SetDate,doc="See `GetDate` and `SetDate`") 
+    HeaderColourBg = property(GetHeaderColourBg,doc="See `GetHeaderColourBg`") 
+    HeaderColourFg = property(GetHeaderColourFg,doc="See `GetHeaderColourFg`") 
+    HighlightColourBg = property(GetHighlightColourBg,doc="See `GetHighlightColourBg`") 
+    HighlightColourFg = property(GetHighlightColourFg,doc="See `GetHighlightColourFg`") 
+    HolidayColourBg = property(GetHolidayColourBg,doc="See `GetHolidayColourBg`") 
+    HolidayColourFg = property(GetHolidayColourFg,doc="See `GetHolidayColourFg`") 
+    LowerDateLimit = property(GetLowerDateLimit,SetLowerDateLimit,doc="See `GetLowerDateLimit` and `SetLowerDateLimit`") 
+    MonthControl = property(GetMonthControl,doc="See `GetMonthControl`") 
+    UpperDateLimit = property(GetUpperDateLimit,SetUpperDateLimit,doc="See `GetUpperDateLimit` and `SetUpperDateLimit`") 
+    YearControl = property(GetYearControl,doc="See `GetYearControl`") 
 _calendar.CalendarCtrl_swigregister(CalendarCtrl)
 cvar = _calendar.cvar
 CalendarNameStr = cvar.CalendarNameStr
index eee749ce44ab89d2e9e13c135bf1ed5221fe3007..c0ede485dd39bb15ee013658e596dd82800bed22 100644 (file)
@@ -3646,7 +3646,7 @@ class DC(_core.Object):
         GetMultiLineTextExtent(wxString string, Font font=None) ->
            (width, height, lineHeight)
 
-        Get the width, height, decent and leading of the text using the
+        Get the width, height, and line height of the text using the
         current or specified font. Works for single as well as multi-line
         strings.
         """
index 6bf815bac651ac52504ce66aac14d8c96ab73668..aea724538ebbe9531d0f6e43ef87c054da1a75a9 100644 (file)
@@ -1170,6 +1170,10 @@ class FrameManager(_core.EvtHandler):
     GetFrame = wx._deprecated(GetManagedWindow,
                               "GetFrame is deprecated, use `GetManagedWindow` instead.")
 
+    AllPanes = property(GetAllPanes,doc="See `GetAllPanes`") 
+    ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`") 
+    Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`") 
+    ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`") 
 _aui.FrameManager_swigregister(FrameManager)
 
 class FrameManagerEvent(_core.Event):
@@ -1228,6 +1232,9 @@ class FrameManagerEvent(_core.Event):
     veto_flag = property(_aui.FrameManagerEvent_veto_flag_get, _aui.FrameManagerEvent_veto_flag_set)
     canveto_flag = property(_aui.FrameManagerEvent_canveto_flag_get, _aui.FrameManagerEvent_canveto_flag_set)
     dc = property(_aui.FrameManagerEvent_dc_get, _aui.FrameManagerEvent_dc_set)
+    Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`") 
+    DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`") 
+    Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`") 
 _aui.FrameManagerEvent_swigregister(FrameManagerEvent)
 
 class DockInfo(object):
@@ -1439,6 +1446,8 @@ class AuiNotebookEvent(_core.NotifyEvent):
 
     old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
     selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+    OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") 
+    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
 
 class AuiNotebookPage(object):
@@ -1552,6 +1561,9 @@ class AuiTabContainer(object):
         """AddButton(self, int id, Bitmap bmp)"""
         return _aui.AuiTabContainer_AddButton(*args, **kwargs)
 
+    ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`") 
+    PageCount = property(GetPageCount,doc="See `GetPageCount`") 
+    Pages = property(GetPages,doc="See `GetPages`") 
 _aui.AuiTabContainer_swigregister(AuiTabContainer)
 
 class AuiTabCtrl(_core.Control,AuiTabContainer):
@@ -1628,6 +1640,8 @@ class AuiMultiNotebook(_core.Control):
         """GetPage(self, size_t page_idx) -> Window"""
         return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
 
+    PageCount = property(GetPageCount,doc="See `GetPageCount`") 
+    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
 
 def PreAuiMultiNotebook(*args, **kwargs):
index bb92d57775dde16e5da3a071efd1c1cc13ab019c..36858bfc04b7867f18d6a9c902f2866d349c520a 100644 (file)
@@ -2897,7 +2897,7 @@ SWIG_From_size_t  (size_t value)
 }
 
 
-// A wxDocArt lcass that knows how to forward virtuals to Python methods  
+// A wxDocArt class that knows how to forward virtuals to Python methods  
 class wxPyDockArt :  public wxDefaultDockArt
 {
     wxPyDockArt() : wxDefaultDockArt() {}
index c6aa75d40cd301637cb1f1019347c8e218bb0033..8b66d7f2bfa45c0b01ec61c8806e5333e444fe3e 100644 (file)
@@ -161,6 +161,11 @@ class CalendarDateAttr(object):
         """GetBorder(self) -> int"""
         return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
 
+    BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`") 
+    Border = property(GetBorder,SetBorder,doc="See `GetBorder` and `SetBorder`") 
+    BorderColour = property(GetBorderColour,SetBorderColour,doc="See `GetBorderColour` and `SetBorderColour`") 
+    Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`") 
+    TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`") 
 _calendar.CalendarDateAttr_swigregister(CalendarDateAttr)
 
 class CalendarEvent(_core.DateEvent):
@@ -186,6 +191,7 @@ class CalendarEvent(_core.DateEvent):
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetDate())
 
+    WeekDay = property(GetWeekDay,SetWeekDay,doc="See `GetWeekDay` and `SetWeekDay`") 
 _calendar.CalendarEvent_swigregister(CalendarEvent)
 
 wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED
@@ -525,6 +531,17 @@ class CalendarCtrl(_core.Control):
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetUpperDateLimit())
 
+    Date = property(GetDate,SetDate,doc="See `GetDate` and `SetDate`") 
+    HeaderColourBg = property(GetHeaderColourBg,doc="See `GetHeaderColourBg`") 
+    HeaderColourFg = property(GetHeaderColourFg,doc="See `GetHeaderColourFg`") 
+    HighlightColourBg = property(GetHighlightColourBg,doc="See `GetHighlightColourBg`") 
+    HighlightColourFg = property(GetHighlightColourFg,doc="See `GetHighlightColourFg`") 
+    HolidayColourBg = property(GetHolidayColourBg,doc="See `GetHolidayColourBg`") 
+    HolidayColourFg = property(GetHolidayColourFg,doc="See `GetHolidayColourFg`") 
+    LowerDateLimit = property(GetLowerDateLimit,SetLowerDateLimit,doc="See `GetLowerDateLimit` and `SetLowerDateLimit`") 
+    MonthControl = property(GetMonthControl,doc="See `GetMonthControl`") 
+    UpperDateLimit = property(GetUpperDateLimit,SetUpperDateLimit,doc="See `GetUpperDateLimit` and `SetUpperDateLimit`") 
+    YearControl = property(GetYearControl,doc="See `GetYearControl`") 
 _calendar.CalendarCtrl_swigregister(CalendarCtrl)
 cvar = _calendar.cvar
 CalendarNameStr = cvar.CalendarNameStr
index 69a76ea571e13b6da4b5e58e8f6bcce0891d9b1b..fb88b49deb7684ec9ff515d9449ba25d333dff38 100644 (file)
@@ -3736,7 +3736,7 @@ class DC(_core.Object):
         GetMultiLineTextExtent(wxString string, Font font=None) ->
            (width, height, lineHeight)
 
-        Get the width, height, decent and leading of the text using the
+        Get the width, height, and line height of the text using the
         current or specified font. Works for single as well as multi-line
         strings.
         """
index 6bf815bac651ac52504ce66aac14d8c96ab73668..aea724538ebbe9531d0f6e43ef87c054da1a75a9 100644 (file)
@@ -1170,6 +1170,10 @@ class FrameManager(_core.EvtHandler):
     GetFrame = wx._deprecated(GetManagedWindow,
                               "GetFrame is deprecated, use `GetManagedWindow` instead.")
 
+    AllPanes = property(GetAllPanes,doc="See `GetAllPanes`") 
+    ArtProvider = property(GetArtProvider,SetArtProvider,doc="See `GetArtProvider` and `SetArtProvider`") 
+    Flags = property(GetFlags,SetFlags,doc="See `GetFlags` and `SetFlags`") 
+    ManagedWindow = property(GetManagedWindow,SetManagedWindow,doc="See `GetManagedWindow` and `SetManagedWindow`") 
 _aui.FrameManager_swigregister(FrameManager)
 
 class FrameManagerEvent(_core.Event):
@@ -1228,6 +1232,9 @@ class FrameManagerEvent(_core.Event):
     veto_flag = property(_aui.FrameManagerEvent_veto_flag_get, _aui.FrameManagerEvent_veto_flag_set)
     canveto_flag = property(_aui.FrameManagerEvent_canveto_flag_get, _aui.FrameManagerEvent_canveto_flag_set)
     dc = property(_aui.FrameManagerEvent_dc_get, _aui.FrameManagerEvent_dc_set)
+    Button = property(GetButton,SetButton,doc="See `GetButton` and `SetButton`") 
+    DC = property(GetDC,SetDC,doc="See `GetDC` and `SetDC`") 
+    Pane = property(GetPane,SetPane,doc="See `GetPane` and `SetPane`") 
 _aui.FrameManagerEvent_swigregister(FrameManagerEvent)
 
 class DockInfo(object):
@@ -1439,6 +1446,8 @@ class AuiNotebookEvent(_core.NotifyEvent):
 
     old_selection = property(_aui.AuiNotebookEvent_old_selection_get, _aui.AuiNotebookEvent_old_selection_set)
     selection = property(_aui.AuiNotebookEvent_selection_get, _aui.AuiNotebookEvent_selection_set)
+    OldSelection = property(GetOldSelection,SetOldSelection,doc="See `GetOldSelection` and `SetOldSelection`") 
+    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiNotebookEvent_swigregister(AuiNotebookEvent)
 
 class AuiNotebookPage(object):
@@ -1552,6 +1561,9 @@ class AuiTabContainer(object):
         """AddButton(self, int id, Bitmap bmp)"""
         return _aui.AuiTabContainer_AddButton(*args, **kwargs)
 
+    ActivePage = property(GetActivePage,SetActivePage,doc="See `GetActivePage` and `SetActivePage`") 
+    PageCount = property(GetPageCount,doc="See `GetPageCount`") 
+    Pages = property(GetPages,doc="See `GetPages`") 
 _aui.AuiTabContainer_swigregister(AuiTabContainer)
 
 class AuiTabCtrl(_core.Control,AuiTabContainer):
@@ -1628,6 +1640,8 @@ class AuiMultiNotebook(_core.Control):
         """GetPage(self, size_t page_idx) -> Window"""
         return _aui.AuiMultiNotebook_GetPage(*args, **kwargs)
 
+    PageCount = property(GetPageCount,doc="See `GetPageCount`") 
+    Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") 
 _aui.AuiMultiNotebook_swigregister(AuiMultiNotebook)
 
 def PreAuiMultiNotebook(*args, **kwargs):
index b49c66df3e02c9c86b6d672c98f1438c904e9e87..d78cb06eabc83441d3d9e8b562900581f826fddf 100644 (file)
@@ -2897,7 +2897,7 @@ SWIG_From_size_t  (size_t value)
 }
 
 
-// A wxDocArt lcass that knows how to forward virtuals to Python methods  
+// A wxDocArt class that knows how to forward virtuals to Python methods  
 class wxPyDockArt :  public wxDefaultDockArt
 {
     wxPyDockArt() : wxDefaultDockArt() {}
index c6aa75d40cd301637cb1f1019347c8e218bb0033..8b66d7f2bfa45c0b01ec61c8806e5333e444fe3e 100644 (file)
@@ -161,6 +161,11 @@ class CalendarDateAttr(object):
         """GetBorder(self) -> int"""
         return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs)
 
+    BackgroundColour = property(GetBackgroundColour,SetBackgroundColour,doc="See `GetBackgroundColour` and `SetBackgroundColour`") 
+    Border = property(GetBorder,SetBorder,doc="See `GetBorder` and `SetBorder`") 
+    BorderColour = property(GetBorderColour,SetBorderColour,doc="See `GetBorderColour` and `SetBorderColour`") 
+    Font = property(GetFont,SetFont,doc="See `GetFont` and `SetFont`") 
+    TextColour = property(GetTextColour,SetTextColour,doc="See `GetTextColour` and `SetTextColour`") 
 _calendar.CalendarDateAttr_swigregister(CalendarDateAttr)
 
 class CalendarEvent(_core.DateEvent):
@@ -186,6 +191,7 @@ class CalendarEvent(_core.DateEvent):
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetDate())
 
+    WeekDay = property(GetWeekDay,SetWeekDay,doc="See `GetWeekDay` and `SetWeekDay`") 
 _calendar.CalendarEvent_swigregister(CalendarEvent)
 
 wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED
@@ -525,6 +531,17 @@ class CalendarCtrl(_core.Control):
         """returns datetime.date object"""
         return _wxdate2pydate(self.GetUpperDateLimit())
 
+    Date = property(GetDate,SetDate,doc="See `GetDate` and `SetDate`") 
+    HeaderColourBg = property(GetHeaderColourBg,doc="See `GetHeaderColourBg`") 
+    HeaderColourFg = property(GetHeaderColourFg,doc="See `GetHeaderColourFg`") 
+    HighlightColourBg = property(GetHighlightColourBg,doc="See `GetHighlightColourBg`") 
+    HighlightColourFg = property(GetHighlightColourFg,doc="See `GetHighlightColourFg`") 
+    HolidayColourBg = property(GetHolidayColourBg,doc="See `GetHolidayColourBg`") 
+    HolidayColourFg = property(GetHolidayColourFg,doc="See `GetHolidayColourFg`") 
+    LowerDateLimit = property(GetLowerDateLimit,SetLowerDateLimit,doc="See `GetLowerDateLimit` and `SetLowerDateLimit`") 
+    MonthControl = property(GetMonthControl,doc="See `GetMonthControl`") 
+    UpperDateLimit = property(GetUpperDateLimit,SetUpperDateLimit,doc="See `GetUpperDateLimit` and `SetUpperDateLimit`") 
+    YearControl = property(GetYearControl,doc="See `GetYearControl`") 
 _calendar.CalendarCtrl_swigregister(CalendarCtrl)
 cvar = _calendar.cvar
 CalendarNameStr = cvar.CalendarNameStr