]> git.saurik.com Git - wxWidgets.git/commitdiff
Just a singel constructor for wxTextAttr
authorRobin Dunn <robin@alldunn.com>
Tue, 15 Jun 2004 21:02:31 +0000 (21:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 15 Jun 2004 21:02:31 +0000 (21:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_textctrl.i

index 9dc6789495ddfa3fdfe455d9173e4827f9346bb1..a12f5b6c6edcb51d1d02c3dddcb358f0011ddaf4 100644 (file)
@@ -105,9 +105,7 @@ enum wxTextCtrlHitTestResult
 class wxTextAttr
 {
 public:    
-    %nokwargs wxTextAttr;
-    wxTextAttr();
-    wxTextAttr(const wxColour& colText,
+    wxTextAttr(const wxColour& colText = wxNullColour,
                const wxColour& colBack = wxNullColour,
                const wxFont& font = wxNullFont,
                wxTextAttrAlignment alignment = wxTEXT_ALIGNMENT_DEFAULT);