Package: python-wxgtk2.6
Version: 2.6.1.2
Followup-For: Bug #349094

I've looked through the wxPython sources somewhat and found the real
cause of the problem. The *real* syntax of Append is just different;
as we recall, the docs say

  Append(id, string, helpStr="", checkable=false)

and the official wxWindows C headers would say

  Append(id, text, help="", kind=wx.ITEM_NORMAL)

but the wxPython SWIG files say

  Append(id, item, helpString="", kind=wx.ITEM_NORMAL)

Therefore, I need to use "item", not "text" or "string", if I want
to pass parameters by name. This is contrary to any available documentation.
So if you like, you could consider this a documentation bug, then.

(hmm, and the boa-constructor needs to be fixed to use item and
helpString, not text and help, I guess)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=no_NO, LC_CTYPE=no_NO (charmap=ISO-8859-1)

Versions of packages python-wxgtk2.6 depends on:
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-7  GCC support library
ii  libstdc++6                    4.0.2-7    The GNU Standard C++ Library v3
ii  libwxgtk2.6-0                 2.6.1.2    wxWidgets Cross-platform C++ GUI t
ii  python-wxversion              2.6.1.2    wxWidgets Cross-platform C++ GUI t
ii  python2.3                     2.3.5-9    An interactive high-level object-o

python-wxgtk2.6 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to