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
This commit is contained in:
@@ -839,7 +839,7 @@ public:
|
|||||||
void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
|
void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr) {
|
||||||
bool found;
|
bool found;
|
||||||
wxPyBlock_t blocked = wxPyBeginBlockThreads();
|
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* ao = wxPyMake_wxGridCellAttr(attr,false);
|
||||||
PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
|
PyObject* ro = wxPyConstructObject((void*)&rectCell, wxT("wxRect"), 0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user