%newgroup
+MustHaveApp(wxPen);
+
class wxPen : public wxGDIObject {
public:
wxPen(wxColour& colour, int width=1, int style=wxSOLID);
%extend {
- bool __eq__(const wxPen* other) { return other ? (*self == *other) : False; }
- bool __ne__(const wxPen* other) { return other ? (*self != *other) : True; }
+ bool __eq__(const wxPen* other) { return other ? (*self == *other) : false; }
+ bool __ne__(const wxPen* other) { return other ? (*self != *other) : true; }
}
%pythoncode { def __nonzero__(self): return self.Ok() }
};