Docstring tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-21 03:34:44 +00:00
parent 43acd3c1eb
commit a6794ed8e9

View File

@@ -190,6 +190,7 @@ be used either as a mixin class combined with some standard or custom
widget, or you can use the derived ComboPopup to create and hold an widget, or you can use the derived ComboPopup to create and hold an
independent reference to the widget to be used for the popup. independent reference to the widget to be used for the popup.
", " ", "
Window Styles Window Styles
------------- -------------
==================== ============================================ ==================== ============================================
@@ -291,10 +292,15 @@ created, unless `OnButtonClick` has been overridden.", "");
necessarily a wx.Button or wx.BitmapButton.", ""); necessarily a wx.Button or wx.BitmapButton.", "");
// NOTE: These are virtuals defined in a base class, so there
// shouldn't be any reason to provide SWIG wrappers for them...
// // forward these methods to all subcontrols // // forward these methods to all subcontrols
// virtual bool Enable(bool enable = true); // virtual bool Enable(bool enable = true);
// virtual bool Show(bool show = true); // virtual bool Show(bool show = true);
// virtual bool SetFont(const wxFont& font); // virtual bool SetFont(const wxFont& font);
// virtual void SetValidator(const wxValidator &validator);
// virtual wxValidator *GetValidator();
// wxTextCtrl methods - for readonly combo they should return // wxTextCtrl methods - for readonly combo they should return
// without errors. // without errors.
@@ -448,16 +454,6 @@ the argument.", "");
"Returns true if given key combination should toggle the popup.", ""); "Returns true if given key combination should toggle the popup.", "");
// Prepare background of combo control or an item in a dropdown list
// in a way typical on platform. This includes painting the focus/disabled
// background and setting the clipping region.
// Unless you plan to paint your own focus indicator, you should always call this
// in your wxComboPopup::PaintComboControl implementation.
// In addition, it sets pen and text colour to what looks good and proper
// against the background.
// flags: wxRendererNative flags: wxCONTROL_ISSUBMENU: is drawing a list item instead of combo control
// wxCONTROL_SELECTED: list item is selected
// wxCONTROL_DISABLED: control/item is disabled
DocDeclStr( DocDeclStr(
virtual void , PrepareBackground( wxDC& dc, const wxRect& rect, int flags ) const, virtual void , PrepareBackground( wxDC& dc, const wxRect& rect, int flags ) const,
"Prepare background of combo control or an item in a dropdown list in a "Prepare background of combo control or an item in a dropdown list in a
@@ -1032,6 +1028,7 @@ DocStr(wxBitmapComboBox,
currently only allows using bitmaps of one size, and resizes itself so currently only allows using bitmaps of one size, and resizes itself so
that a bitmap can be shown next to the text field.", that a bitmap can be shown next to the text field.",
" "
Window Styles Window Styles
------------- -------------
=================== ============================================ =================== ============================================