REPOST: wxBitmapFromImage function in wxPython?

Stephane SOPPERA soppers3 at cti.ecp.fr
Sun Dec 30 15:40:19 EST 2001


I read in the documentation of wxPython that this function exists:

    wxBitmapFromImage(image, depth=-1)
                                                       Convert a wxImage
to a wxBitmap.

But the Python does not know it.
When I use it, it return an Nameerror exception. (I use the from
wxPython.wx import * command)
It's not in dir(wxPython.wx).
I'm using python 2.1.
Is that function really exists?
What could be another solution to do the same thing?

Thanks in advance,

--
Stephane SOPPERA
http://stephane.soppera.free.fr

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!newsxfer.interpacket.net!news-xfer.nuri.net!news-hub.kaist.ac.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: Stephane SOPPERA <soppers3 at cti.ecp.fr>
Newsgroups: comp.lang.python
Subject: cmsg cancel <3C2F7BB3.577D3712 at cti.ecp.fr>
Control: cancel <3C2F7BB3.577D3712 at cti.ecp.fr>
Date: Mon, 31 Dec 2001 04:31:18 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.3C2F7BB3.577D3712 at cti.ecp.fr>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774091 27193 211.57.49.2 (31 Dec 2001 04:48:11 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 04:48:11 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.



More information about the Python-list mailing list