wxColor --> wxColour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-12-22 23:57:34 +00:00
parent 015131a1fd
commit 55424c8c22
2 changed files with 6 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ current platform.", "");
KeepGIL(FindObjects); KeepGIL(FindObjects);
DocDeclStr( DocDeclStr(
PyObject*, FindObjects(wxCoord x, wxCoord y, PyObject*, FindObjects(wxCoord x, wxCoord y,
wxCoord radius=1, const wxColor& bg=*wxWHITE), wxCoord radius=1, const wxColour& bg=*wxWHITE),
"Returns a list of all the id's that draw a pixel with color "Returns a list of all the id's that draw a pixel with color
not equal to bg within radius of (x,y). not equal to bg within radius of (x,y).
Returns an empty list if nothing is found. The list is in Returns an empty list if nothing is found. The list is in

View File

@@ -189,11 +189,16 @@ The following example shows a simple implementation that utilizes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Get all our defs from the REAL header files. // Get all our defs from the REAL header files.
#define wxColor wxColour // fix problem in dockart.h
%include framemanager.h %include framemanager.h
%include dockart.h %include dockart.h
%include floatpane.h %include floatpane.h
%include auibook.h %include auibook.h
#undef wxColor
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Methods to inject into the FrameManager class that will sort out calls to // Methods to inject into the FrameManager class that will sort out calls to
// the overloaded versions of GetPane and AddPane // the overloaded versions of GetPane and AddPane