and we need to make sure these two match in some way. And what I
tried to do was just this. If I failed on doing so, please show me
my > wrongs.
Create a tabView and add four tabViewItems. _selected_item will be 4.
Then call selectedTabViewItem! Boohm!!!
So what? Fred's change looked okay to me (and still looks so). The
point is
just that NSTabView fails to initialize the _selected_item instance
variable
properly. Adding the line
_selected_item = NSNotFound;
in -initWithFrame: should fix this issue.
If NSNotFound is and will stay defined as -1 then YES! Can we build on
that?
Sorry (to Fred), I haven't looked for a fix for the fix yesterday. I
just discovered that the modification broke my code and therefore
rolled back to the older implementation. I suppose _selected_item = -1;
in the init method will do the trick.
Thanks,
Andreas
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep