in reply to What's wrong with this Wx::Bitmap construction?

Now, moving the image data into a module and reading in the data from a string fails, why?

How does it fail? What error do you get?

  • Comment on Re: What's wrong with this Wx::Bitmap construction?

Replies are listed 'Best First'.
Re^2: What's wrong with this Wx::Bitmap construction?
by isync (Hermit) on Feb 26, 2010 at 15:38 UTC
    Actually, it just silently doesn't work. No errors, but the images do not show up in my ListCtrl.
    Wrong memory. A new try showed that it produces the same error as above, the "Can't load image from file 'Wx::Image=SCALAR(0x33094dc)': file does not exist." error.
    (BTW: is this the Wx::Image or Wx::Bitmap constructor failing?)
      Why not create a self contained example which demonstrates your problem?
        I took your request by heart and made this fork from the sample listctrl code: (see the test area section for a demonstration of the described problem)