the position attribute is called 'pos', not 'position'

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-10-31 11:42:28 +00:00
parent 8b34993daa
commit 9c0a4cb4e1

View File

@@ -252,7 +252,7 @@ Identical to wxBitmap class, except that it creates wxIcon instead of wxBitmap.
wxButton wxButton
-------- --------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxButton] style Style[wxButton]
@@ -263,14 +263,14 @@ default Boolean false
wxCalendarCtrl wxCalendarCtrl
-------------- --------------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxCalendarCtrl] style Style[wxCalendarCtrl]
wxCheckBox wxCheckBox
---------- ----------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxCheckBox] style Style[wxCheckBox]
checked Boolean false checked Boolean false
@@ -278,7 +278,7 @@ checked Boolean false
wxCheckList wxCheckList
----------- -----------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxCheckList] style Style[wxCheckList]
content (see below) (empty) content (see below) (empty)
@@ -303,7 +303,7 @@ Example:
wxDialog wxDialog
-------- --------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxDialog] wxDEFAULT_DIALOG_STYLE style Style[wxDialog] wxDEFAULT_DIALOG_STYLE
title I18nString "" title I18nString ""
@@ -315,7 +315,7 @@ wxDialog may have children objects.
wxFrame wxFrame
-------- --------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxDialog] wxDEFAULT_FRAME_STYLE style Style[wxDialog] wxDEFAULT_FRAME_STYLE
title I18nString "" title I18nString ""
@@ -329,7 +329,7 @@ set as frame's tool-, menu- and statusbar respectively.
wxScrolledWindow wxScrolledWindow
---------------- ----------------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxScrolledWindow] wxHSCROLL | wxVSCROLL style Style[wxScrolledWindow] wxHSCROLL | wxVSCROLL
@@ -338,7 +338,7 @@ wxScolledWindow may have children objects.
wxSplitterWindow wxSplitterWindow
---------------- ----------------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxSplitterWindow] wxSP_3D style Style[wxSplitterWindow] wxSP_3D
sashpos Integer 0 sashpos Integer 0
@@ -362,7 +362,7 @@ widths Width1, Width2, Width3, ...
wxToolBar wxToolBar
--------- ---------
position Position -1,-1 pos Position -1,-1
size Size -1,-1 size Size -1,-1
style Style[wxToolBar] wxNO_BORDER|wxTB_HORIZONTAL style Style[wxToolBar] wxNO_BORDER|wxTB_HORIZONTAL
bitmapsize Size -1,-1 bitmapsize Size -1,-1
@@ -389,15 +389,15 @@ appear within wxToolBar node. Their attributes are as follows:
label I18nString "" label I18nString ""
tooltip I18nString "" tooltip I18nString ""
longhelp I18nString "" longhelp I18nString ""
position Position -1,-1 pos Position -1,-1
Constraints: Constraints:
At most one of "toggle" and "radio" attributes may be 1. At most one of "toggle" and "radio" attributes may be 1.
Attribute "position" may not appear if "label" or "radio" attributes Attribute "pos" may not appear if "label" or "radio" attributes
are used or if parent wxToolBar's style contains wxTB_TEXT. are used or if parent wxToolBar's style contains wxTB_TEXT.
Note: Note:
Use of "position" attribute is strongly discouraged, it is deprecated Use of "pos" attribute is strongly discouraged, it is deprecated
usage of wxToolBar and it is not supported by MSW and GTK usage of wxToolBar and it is not supported by MSW and GTK
implementations. implementations.