Jerome Laheurte wrote:
 >
 > On Sat, 12 Jul 2008, Carl Zmola wrote:
<snip>
 > > 1) is the question, how do I go about getting SVN write access, and 
what
 > > is the development process.
 >
 > When you have a working patch, post it here so we can look at it and
 > apply it.
 >

Is there a patch program or procedure that I should use?  (I know they 
are out there, but I haven't used any recently)
Or can I just post the code?



 > > 2) Here is what I am trying to do, and my approach for review

<snip>

 > Mmmh, after a quick look, it seems that it's not that simple to know
 > in which column the user has double-clicked. With the TreeCtrl, one
 > may probably use the Point attribute of the wxTreeEvent, but it seems
 > that for a list control, it's always (0, 0) (it's only used in
 > drag&drop).

      I can tackle that on a second after I get it working for the tree 
view.

 > The way I would do it (not necessarily the better):
 >
 > * Change ListCtrl and TreeCtrl so that they can figure out which
 > column the user has double-clicked (say, a
 > GetClickedColumn(self, event) method)

     I will stub out the List Ctrl to always choose the first column/or 
no column to get this working initially.

 > * Then, the ViewerWithColumns may use this to determine the actual
 > Column object from the event object.
 >
 > * And the TaskEdit UI command uses the viewer (which it knows about
 > since it's a ViewerCommand) to get the column and pass it to the
 > TaskEditor constructor.
 >
 > * Finally, the task editor does its job of selecting the right tab
 > base on the column's name().

Yes,  I did mean to have the editor do the setting.

Thanks.

Carl

Reply via email to