From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2004-08-06 22:50:08
|
Hello..I'm just getting into Pythoncard, so if any of my questions fall into the categories of FAQ or RTFM, please don't hesitate to let me know... I'm creating an application that mimics the output of a database report writer, allowing the user to add extra notes that get stored along with the "proper" data. To do this I want to display a bitmap - the sample one to start is a little unusual - it's a 1000 x 630 pixels x 16-bit BMP file. When I try to use this in the resource editor as a background I get: wx.core.PyAssertionError: C++ assertion "wxAssertFailure" failed in ..\..\src\ms w\dc.cpp(1024): invalid bitmap in wxDC::DrawBitmap (this isn't the full traceback, but I have that if anyone's interested). My first thought is that my bitmap is just too odd - would this be correct? I've worked around the problem by using the same bitmap file in an Image component (some questions on that to follow!) Neil |