[Commits] (davids) colheader - color -> colour, for consistency's sake

commits at osafoundation.org commits at osafoundation.org
Mon Apr 25 21:17:08 PDT 2005


Commit by: davids
Modified files:
internal/wxPython-2.5/include/wx/generic/colheader.h 1.41 1.42
internal/wxPython-2.5/src/generic/colheader.cpp 1.82 1.83
internal/wxPython-2.5/wxPython/src/colheader.i 1.19 1.20

Log message:

colheader - color -> colour, for consistency's sake
r=TBD



ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/include/wx/generic/colheader.h.diff?r1=text&tr1=1.41&r2=text&tr2=1.42
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/src/generic/colheader.cpp.diff?r1=text&tr1=1.82&r2=text&tr2=1.83
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/wxPython/src/colheader.i.diff?r1=text&tr1=1.19&r2=text&tr2=1.20

Index: internal/wxPython-2.5/include/wx/generic/colheader.h
diff -u internal/wxPython-2.5/include/wx/generic/colheader.h:1.41 internal/wxPython-2.5/include/wx/generic/colheader.h:1.42
--- internal/wxPython-2.5/include/wx/generic/colheader.h:1.41	Mon Apr 25 01:14:24 2005
+++ internal/wxPython-2.5/include/wx/generic/colheader.h	Mon Apr 25 21:17:06 2005
@@ -83,9 +83,9 @@
 		long				originX );
 
 	void GetSelectionColour(
-		wxColor			&targetColour ) const;
+		wxColour			&targetColour ) const;
 	void SetSelectionColour(
-		const wxColor		&targetColour );
+		const wxColour		&targetColour );
 	long GetSelectionDrawStyle( void ) const;
 	void SetSelectionDrawStyle(
 		long				styleValue );

Index: internal/wxPython-2.5/src/generic/colheader.cpp
diff -u internal/wxPython-2.5/src/generic/colheader.cpp:1.82 internal/wxPython-2.5/src/generic/colheader.cpp:1.83
--- internal/wxPython-2.5/src/generic/colheader.cpp:1.82	Mon Apr 25 01:14:25 2005
+++ internal/wxPython-2.5/src/generic/colheader.cpp	Mon Apr 25 21:17:06 2005
@@ -554,13 +554,13 @@
 #endif
 
 void wxColumnHeader::GetSelectionColour(
-	wxColor			&targetColour ) const
+	wxColour			&targetColour ) const
 {
 	targetColour = m_SelectionColour;
 }
 
 void wxColumnHeader::SetSelectionColour(
-	const wxColor		&targetColour )
+	const wxColour		&targetColour )
 {
 	m_SelectionColour = targetColour;
 }

Index: internal/wxPython-2.5/wxPython/src/colheader.i
diff -u internal/wxPython-2.5/wxPython/src/colheader.i:1.19 internal/wxPython-2.5/wxPython/src/colheader.i:1.20
--- internal/wxPython-2.5/wxPython/src/colheader.i:1.19	Fri Apr 22 10:55:00 2005
+++ internal/wxPython-2.5/wxPython/src/colheader.i	Mon Apr 25 21:17:06 2005
@@ -103,6 +103,9 @@
 class wxColumnHeader : public wxControl
 {
 public:
+        %pythonAppend wxColumnHeader      "self._setOORInfo(self)"
+        %pythonAppend wxColumnHeader()    ""
+
     // wxColumnHeader();
     // ~wxColumnHeader();
 
@@ -132,9 +135,9 @@
         long            originX );
 
     void GetSelectionColour(
-        wxColor            &targetColour ) const;
+        wxColour            &targetColour ) const;
     void SetSelectionColour(
-        const wxColor        &targetColour );
+        const wxColour        &targetColour );
     long GetSelectionDrawStyle( void ) const;
     void SetSelectionDrawStyle(
         long                styleValue );



More information about the Commits mailing list