Discussion:
phoenix docs lack methods that don't appear in classic_vs_phoenix.html... BUG?
Nathan McCorkle
2014-07-30 19:03:11 UTC
Permalink
InsertStringItem is listed as a method here:
http://www.wxpython.org/docs/api/wx.ListCtrl-class.html

it isn't here :(
http://wxpython.org/Phoenix/docs/html/ListCtrl.html

no mention of it deprecating here:
http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Andrea Gavana
2014-07-30 20:22:15 UTC
Permalink
Hi,
Post by Nathan McCorkle
http://www.wxpython.org/docs/api/wx.ListCtrl-class.html
it isn't here :(
http://wxpython.org/Phoenix/docs/html/ListCtrl.html
http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html
That's because in Phoenix, InsertItem has now many overloads and you don't
need to bother anymore between choosing InsertItem, InsertStringItem,
InsertImageStringItem, InsertPuppetItem,
InsertAVeryLongItemThatWillWrapWhenWindows8WillDie and whatnot. Just call
InsertItem(index, label) and you will get the same result.
Post by Nathan McCorkle
--
You received this message because you are subscribed to the Google Groups
"wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://www.infinity77.net

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

if mention_platform_and_version() and include_sample_app():
send_message(email)
else:
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nathan McCorkle
2014-07-30 22:16:04 UTC
Permalink
If that is the case, why isn't that mentioned in the third link I posted?
Post by Andrea Gavana
Hi,
Post by Nathan McCorkle
http://www.wxpython.org/docs/api/wx.ListCtrl-class.html
it isn't here :(
http://wxpython.org/Phoenix/docs/html/ListCtrl.html
http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html
That's because in Phoenix, InsertItem has now many overloads and you don't
need to bother anymore between choosing InsertItem, InsertStringItem,
InsertImageStringItem, InsertPuppetItem,
InsertAVeryLongItemThatWillWrapWhenWindows8WillDie and whatnot. Just call
InsertItem(index, label) and you will get the same result.
Post by Nathan McCorkle
--
You received this message because you are subscribed to the Google Groups
"wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://www.infinity77.net
# ------------------------------------------------------------- #
send_message(email)
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Andrea Gavana
2014-07-30 22:36:33 UTC
Permalink
On 31 July 2014 00:16, Nathan McCorkle <***@gmail.com> wrote:

<snip>
Post by Nathan McCorkle
Post by Andrea Gavana
Hi,
Post by Nathan McCorkle
http://www.wxpython.org/docs/api/wx.ListCtrl-class.html
it isn't here :(
http://wxpython.org/Phoenix/docs/html/ListCtrl.html
http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html
That's because in Phoenix, InsertItem has now many overloads and you
don't need to bother anymore between choosing InsertItem, InsertStringItem,
InsertImageStringItem, InsertPuppetItem, InsertAVeryLongItemThatWillWrapWhenWindows8WillDie
and whatnot. Just call InsertItem(index, label) and you will get the same
result.
If that is the case, why isn't that mentioned in the third link I posted?
Not all the overloads are represented in the classic_vs_phoenix document,
that used to be a work in progress I started using the NDT:

https://code.google.com/p/namespace-diff-tool/

Everyone can always submit a patch to that document (a *unified* patch) to
update it:

http://svn.wxwidgets.org/viewvc/wx/wxPython/Phoenix/trunk/docs/classic_vs_phoenix.txt
Post by Nathan McCorkle
Post by Andrea Gavana
Post by Nathan McCorkle
--
You received this message because you are subscribed to the Google
Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://www.infinity77.net
# ------------------------------------------------------------- #
send_message(email)
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
--
You received this message because you are subscribed to the Google Groups
"wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://www.infinity77.net

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

if mention_platform_and_version() and include_sample_app():
send_message(email)
else:
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Werner
2014-07-31 06:11:27 UTC
Permalink
Hi Nathan,
Post by Nathan McCorkle
If that is the case, why isn't that mentioned in the third link I posted?
It is mentioned in the migration guide, but doesn't list all the cases.
http://wxpython.org/Phoenix/docs/html/MigrationGuide.html

Werner
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...