//----------------------------------------------------------------------
%import windows.i
-%import gdi.i
+// ?? %import gdi.i
%pythoncode { wx = _core }
%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
// returns false if we have any attributes set, true otherwise
bool IsDefault() const;
+
+// // return the attribute having the valid font and colours: it uses the
+// // attributes set in attr and falls back first to attrDefault and then to
+// // the text control font/colours for those attributes which are not set
+// static wxRichTextAttr Combine(const wxRichTextAttr& attr,
+// const wxRichTextAttr& attrDef,
+// const wxTextCtrlBase *text);
};
wxRichTextCtrl( wxWindow* parent,
wxWindowID id = -1,
+ const wxString& value = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxRE_MULTILINE );
bool Create( wxWindow* parent,
wxWindowID id = -1,
+ const wxString& value = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxRE_MULTILINE );
virtual bool , SaveFile(const wxString& file = wxPyEmptyString,
int type = wxRICHTEXT_TYPE_ANY),
"Save the contents of the document to the given filename, or if the
-empty string is passed then to the filename set with `SetFileName`.", "");
+empty string is passed then to the filename set with `SetFilename`.", "");
// sets/clears the dirty flag