docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -588,8 +588,8 @@ sizer, interior children, or other means)");
|
|||||||
virtual bool , Show( bool show = True ),
|
virtual bool , Show( bool show = True ),
|
||||||
"Shows or hides the window. You may need to call Raise for a top level
|
"Shows or hides the window. You may need to call Raise for a top level
|
||||||
window if you want to bring it to top, although this is not needed if
|
window if you want to bring it to top, although this is not needed if
|
||||||
Show() is called immediately after the frame creation. Returns true
|
Show is called immediately after the frame creation. Returns True if
|
||||||
if the window has been shown or hidden or false if nothing was done
|
the window has been shown or hidden or False if nothing was done
|
||||||
because it already was in the requested state.");
|
because it already was in the requested state.");
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
@@ -629,7 +629,8 @@ after changing the others for the change to take place immediately.");
|
|||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
virtual long , GetWindowStyleFlag() const,
|
virtual long , GetWindowStyleFlag() const,
|
||||||
"Gets the window style that was passed to the constructor or Create method.");
|
"Gets the window style that was passed to the constructor or Create
|
||||||
|
method.");
|
||||||
|
|
||||||
%pythoncode { SetWindowStyle = SetWindowStyleFlag; GetWindowStyle = GetWindowStyleFlag }
|
%pythoncode { SetWindowStyle = SetWindowStyleFlag; GetWindowStyle = GetWindowStyleFlag }
|
||||||
|
|
||||||
@@ -723,8 +724,7 @@ or None.");
|
|||||||
virtual bool , AcceptsFocusFromKeyboard() const,
|
virtual bool , AcceptsFocusFromKeyboard() const,
|
||||||
"Can this window be given focus by keyboard navigation? if not, the
|
"Can this window be given focus by keyboard navigation? if not, the
|
||||||
only way to give it focus (provided it accepts it at all) is to click
|
only way to give it focus (provided it accepts it at all) is to click
|
||||||
it.
|
it.");
|
||||||
");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -732,8 +732,7 @@ it.
|
|||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
virtual wxWindow *, GetDefaultItem() const,
|
virtual wxWindow *, GetDefaultItem() const,
|
||||||
"Get the default child of this parent, i.e. the one which is activated
|
"Get the default child of this parent, i.e. the one which is activated
|
||||||
by pressing <Enter> such as the OK button on a wx.Dialog.
|
by pressing <Enter> such as the OK button on a wx.Dialog.");
|
||||||
");
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
virtual wxWindow *, SetDefaultItem(wxWindow * child),
|
virtual wxWindow *, SetDefaultItem(wxWindow * child),
|
||||||
@@ -946,8 +945,8 @@ hotkey was registered successfully.");
|
|||||||
// ---------------------------
|
// ---------------------------
|
||||||
|
|
||||||
DocStr(ConvertDialogToPixels,
|
DocStr(ConvertDialogToPixels,
|
||||||
"Converts a point or size from dialog units to pixels. Dialog units are
|
"Converts a point or size from dialog units to pixels. Dialog units
|
||||||
used for maintaining a dialog's proportions even if the font
|
are used for maintaining a dialog's proportions even if the font
|
||||||
changes. For the x dimension, the dialog units are multiplied by the
|
changes. For the x dimension, the dialog units are multiplied by the
|
||||||
average character width and then divided by 4. For the y dimension,
|
average character width and then divided by 4. For the y dimension,
|
||||||
the dialog units are multiplied by the average character height and
|
the dialog units are multiplied by the average character height and
|
||||||
|
Reference in New Issue
Block a user