modifying wx backend

10 views
Skip to first unread message

Chris Mitchell

unread,
Aug 2, 2012, 8:54:50 PM8/2/12
to wxPyth...@googlegroups.com
I'm trying to optimize/find bottlenecks in the widgets for my app, particularly the grid. I've tried changing some of the code in the wxwidgets included in wxpython,but it doesn't seem to be perpetuating to wxpython. I'm recompiling after each change (both wxwigets and wxpython). Any advice on what i may be doing wrong? I'm on ubuntu 11.10, the latest wxpython dev release.

Chris

Chris Mitchell

unread,
Aug 2, 2012, 10:37:49 PM8/2/12
to wxPyth...@googlegroups.com
I posted the above from my phone, here's more info.  I'm testing my wxWidgets changes by compiling wxWidgets and seeing them in the grid demo, so I know the code is being compiled/linked correctly.  I updated my PYTHONPATH/LD_LIBRARY_PATH/ran ldconfig as well.  I tried using both the wxPython build script, and the setup.py script to install wxPython.

Robin Dunn

unread,
Aug 3, 2012, 1:46:26 AM8/3/12
to wxpyth...@googlegroups.com
You can use ldd on one of the wxPython extension modules to see what
shared libraries they are loading.

--
Robin Dunn
Software Craftsman
http://wxPython.org

Chris Mitchell

unread,
Aug 3, 2012, 10:41:49 AM8/3/12
to wxPyth...@googlegroups.com, wxpyth...@googlegroups.com
Thanks Robin, tracing back found the issue.  I was actually modifying the right files, but just the wrong methods which weren't being called by wxPython's grid, but were being using in the griddemo.

Chris
Reply all
Reply to author
Forward
0 new messages