Re: [Tutor] Questions about wxEvents

2007-12-06 Thread Marc Tompkins
Hot diggety! Exactly what I was trying to come up with. Thank you! On Dec 6, 2007 9:38 AM, Jeff Younker <[EMAIL PROTECTED]> wrote: > While I can't help you with the wx specific part of the question, I canoffer > help with the reuse question. Here is one approach. Add an > controller identi

Re: [Tutor] Questions about wxEvents

2007-12-06 Thread Tiago Saboga
On Thu, Dec 06, 2007 at 09:12:59AM -0800, Marc Tompkins wrote: > I have a specific question - how can I generalize a > FileBrowseButtonWithHistory - and I realized, as I was trying to word my > question, that my real question is a bit more generic. > > First, the specific question: The FileBrowse

Re: [Tutor] Questions about wxEvents

2007-12-06 Thread Jeff Younker
While I can't help you with the wx specific part of the question, I can offer help with the reuse question. Here is one approach. Add an controller identifier to fpCallback. Then use lambda expressions for the actual callback, where the lambda expressions pass in a fixed value for the i