gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] gnumed clients under windos


From: David Guest
Subject: Re: [Gnumed-devel] gnumed clients under windos
Date: 16 Jul 2002 19:23:31 +1000

Gnumedders

I came across this message on the wxpython list and wondered if was
applicable to the gnumed Windows problem as previously described. 

David 

~~~~~~~~~~~~~~~~~~~~~~~


>     I got the msgbox debug
>     c:\projects\wx\src\msw\bitmap.cpp(507): assert "wxFalse" failed
invalid
> image
>     Then pressing Cancel, I got
>     Warning message box
>     No handler found for image type

Since you are loading PNG images you need to initialize the image
handler
for it.  The easiest way to do it is to call wxInitAllImageHandlers near
the
begining of your app.

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

_______________________________________________
wxpython-users mailing list
address@hidden
http://lists.wxwindows.org/mailman/listinfo/wxpython-users


On Mon, 2002-06-24 at 15:58, David Guest wrote:
> With Ian's help I managed to get Richard's gnumed client down from the 
> CVS and am looking forward to pulling it apart. It's fine under GTK.
> 
> I have tried to get it up under Windows this afternoon and get the 
> following error messages when launching from a DOS box.
> 1. "c:\Projects\wx\src\msw\bitmap.cpp(389): assert failed: invalid image
> Do you want to stop the program?
> You can choose Cancel ... "
> 2. "Couldn't load a PNG image - file is corrupted or not enough memory."
> after this I finish up with a 20 * 20 pixel box that does not seem to 
> respond to any commands, except close
> 
> Is Windows png friendly?
> 
> David
> 
> Config: NT4SP3, Python 2.2 , wxPython 2.3.2.1
> 
> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnumed-devel
-- 
David Guest
GPG key ID BE79B742 @ pgp.mit.edu
Fingerprint: 2609 DB95 C040 5902 BA0C  4D3C F1F2 EA62 BE79 B742
--- Begin Message --- Subject: Re: [wxPython] wxpython 2.3.3pre5 icon problem Date: Mon, 15 Jul 2002 10:31:17 -0700
>     I got the msgbox debug
>     c:\projects\wx\src\msw\bitmap.cpp(507): assert "wxFalse" failed
invalid
> image
>     Then pressing Cancel, I got
>     Warning message box
>     No handler found for image type

Since you are loading PNG images you need to initialize the image handler
for it.  The easiest way to do it is to call wxInitAllImageHandlers near the
begining of your app.

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





_______________________________________________
wxpython-users mailing list
address@hidden
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

--- End Message ---

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]