projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed some docstrings
[wxWidgets.git]
/
wxPython
/
src
/
_statusbar.i
diff --git
a/wxPython/src/_statusbar.i
b/wxPython/src/_statusbar.i
index 360970e3fafb221d69b1d33c9aeec0db461fcfca..6888f583bde23ee23095407f1306746358cb4bdc 100644
(file)
--- a/
wxPython/src/_statusbar.i
+++ b/
wxPython/src/_statusbar.i
@@
-26,8
+26,8
@@
class wxStatusBar : public wxWindow
{
public:
class wxStatusBar : public wxWindow
{
public:
- %
addtofunc
wxStatusBar "self._setOORInfo(self)"
- %
addtofunc
wxStatusBar() ""
+ %
pythonAppend
wxStatusBar "self._setOORInfo(self)"
+ %
pythonAppend
wxStatusBar() ""
wxStatusBar(wxWindow* parent, wxWindowID id = -1,
long style = wxST_SIZEGRIP,
wxStatusBar(wxWindow* parent, wxWindowID id = -1,
long style = wxST_SIZEGRIP,
@@
-59,8
+59,14
@@
public:
virtual void SetStatusWidths(int widths, const int* widths_field); // uses typemap in _toplvl.i
// Get the position and size of the field's internal bounding rectangle
virtual void SetStatusWidths(int widths, const int* widths_field); // uses typemap in _toplvl.i
// Get the position and size of the field's internal bounding rectangle
- virtual bool GetFieldRect(int i, wxRect& rect) const;
-
+ %extend {
+ wxRect GetFieldRect(int i) {
+ wxRect r;
+ self->GetFieldRect(i, r);
+ return r;
+ }
+ }
+
// sets the minimal vertical size of the status bar
virtual void SetMinHeight(int height);
// sets the minimal vertical size of the status bar
virtual void SetMinHeight(int height);