]> git.saurik.com Git - wxWidgets.git/commitdiff
wxColor --> wxColour
authorRobin Dunn <robin@alldunn.com>
Fri, 22 Dec 2006 23:57:34 +0000 (23:57 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 22 Dec 2006 23:57:34 +0000 (23:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_pseudodc.i
wxPython/src/aui.i

index 1fd1cc1ca1e0297354a17fa832aedf943359a4d8..d1248ec865df0d75772e6eb85b10cfaace780c84 100644 (file)
@@ -73,7 +73,7 @@ current platform.", "");
     KeepGIL(FindObjects);
     DocDeclStr(
         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
 not equal to bg within radius of (x,y).
 Returns an empty list if nothing is found.  The list is in
index 24788f1f62bb1bcb179270f530a0198972d53cec..389abd760c58f8444326e663b13e7a55bb007ca2 100755 (executable)
@@ -189,11 +189,16 @@ The following example shows a simple implementation that utilizes
 
 //---------------------------------------------------------------------------
 // Get all our defs from the REAL header files.
+
+#define wxColor wxColour  // fix problem in dockart.h
+
 %include framemanager.h
 %include dockart.h
 %include floatpane.h
 %include auibook.h
 
+#undef wxColor
+
 //---------------------------------------------------------------------------
 // Methods to inject into the FrameManager class that will sort out calls to
 // the overloaded versions of GetPane and AddPane