List Info

Thread: SetItemSpacing replacement for wx.ListCtrl?




SetItemSpacing replacement for wx.ListCtrl?
country flaguser name
United States
2007-10-14 08:54:33
	I always found this method useful in both regular
wx.ListCtrl and  
wx.ListBook, but now I get the message that it is
deprecated. Is  
there any other way to accomplish the same task?

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribelists.wxwidgets.org
For additional commands, e-mail: wxPython-users-helplists.wxwidgets.org


Re: SetItemSpacing replacement for wx.ListCtrl?
country flaguser name
United States
2007-10-15 13:23:39
Ed Leafe wrote:
>     I always found this method useful in both regular
wx.ListCtrl and 
> wx.ListBook, but now I get the message that it is
deprecated. Is there 
> any other way to accomplish the same task?

I'm not sure why it got deprecated, as there isn't a comment
about it in 
the source and also the C++ version isn't deprecated, (that
is when I 
usually mark the wxPython version too.)  However it is only
available on 
non-Windows ports, so maybe that had something to do with
it.

Ah, I see it now.  One of the overloads of the C++
GetItemSpacing was 
deprecated, so I probably assumed that all of them and the 
SetItemSpacing would be deprecated too.  I'll undo that
change for the 
wxPython wrappers.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java
give you jitters?  Relax with wxPython!


------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribelists.wxwidgets.org
For additional commands, e-mail: wxPython-users-helplists.wxwidgets.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )