From 35c770fa95e1fd646cedcfac54bb55d032bb516f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 24 Apr 2007 20:49:30 +0000 Subject: [PATCH] Fix typo that prevented an overridden PaintBackground in a wx.grid.PyGridCellEditor derived class from being called. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/grid.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/src/grid.i b/wxPython/src/grid.i index 2574e9edb4..531b5e4218 100644 --- a/wxPython/src/grid.i +++ b/wxPython/src/grid.i @@ -839,7 +839,7 @@ public: void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) { bool found; wxPyBlock_t blocked = wxPyBeginBlockThreads(); - if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground)"))) { + if ((found = wxPyCBH_findCallback(m_myInst, "PaintBackground"))) { PyObject* ao = wxPyMake_wxGridCellAttr(attr,false); PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);