From: John L. <jr...@us...> - 2008-10-24 04:40:20
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2076/wxLua/bindings/wxwidgets Modified Files: wxcore_gdi.i Log Message: Small binding generator fixes for special cases, added op_cast. Index: wxcore_gdi.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxcore_gdi.i,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** wxcore_gdi.i 22 Oct 2008 05:31:45 -0000 1.5 --- wxcore_gdi.i 24 Oct 2008 04:40:12 -0000 1.6 *************** *** 52,56 **** %operator wxPoint operator-(const wxSize& s) const //{ return wxPoint(x - s.GetWidth(), y - s.GetHeight()); } ! %operator wxPoint operator-() const { return wxPoint(-x, -y); } %endclass --- 52,56 ---- %operator wxPoint operator-(const wxSize& s) const //{ return wxPoint(x - s.GetWidth(), y - s.GetHeight()); } ! %operator wxPoint operator-() const //{ return wxPoint(-x, -y); } %endclass |