added more properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-16 18:12:37 +00:00
parent 15b2504679
commit dba7934c9d
15 changed files with 96 additions and 4 deletions

View File

@@ -1892,6 +1892,11 @@ class VScrolledWindow(Panel):
"""GetLinesHeight(self, size_t lineMin, size_t lineMax) -> int"""
return _windows_.VScrolledWindow_GetLinesHeight(*args, **kwargs)
FirstVisibleLine = property(GetFirstVisibleLine,doc="See `GetFirstVisibleLine`")
LastVisibleLine = property(GetLastVisibleLine,doc="See `GetLastVisibleLine`")
LineCount = property(GetLineCount,SetLineCount,doc="See `GetLineCount` and `SetLineCount`")
VisibleBegin = property(GetVisibleBegin,doc="See `GetVisibleBegin`")
VisibleEnd = property(GetVisibleEnd,doc="See `GetVisibleEnd`")
_windows_.VScrolledWindow_swigregister(VScrolledWindow)
def PreVScrolledWindow(*args, **kwargs):
@@ -2014,6 +2019,12 @@ class VListBox(VScrolledWindow):
"""OnDrawBackground(self, DC dc, Rect rect, size_t n)"""
return _windows_.VListBox_OnDrawBackground(*args, **kwargs)
FirstSelected = property(GetFirstSelected,doc="See `GetFirstSelected`")
ItemCount = property(GetItemCount,SetItemCount,doc="See `GetItemCount` and `SetItemCount`")
Margins = property(GetMargins,SetMargins,doc="See `GetMargins` and `SetMargins`")
SelectedCount = property(GetSelectedCount,doc="See `GetSelectedCount`")
Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`")
SelectionBackground = property(GetSelectionBackground,SetSelectionBackground,doc="See `GetSelectionBackground` and `SetSelectionBackground`")
_windows_.VListBox_swigregister(VListBox)
VListBoxNameStr = cvar.VListBoxNameStr
@@ -2885,7 +2896,7 @@ class ProgressDialog(Frame):
unless the Cancel button has been pressed, and ``skip`` is ``False``
unless the Skip button (if any) has been pressed.
If the ``continue`` return value is ``false``, the application can either
If the ``continue`` return value is ``False``, the application can either
immediately destroy the dialog or ask the user for confirmation, and if the
abort is not confirmed the dialog may be resumed with `Resume` function.