#71 samples\wx\TestTaskBarIcon.hs does not display an icon

confirmed
closed-fixed
nobody
None
5
2014-07-01
2013-09-09
No

When TestTaskBarIcon is run, an empty field is added to the task bar.

I tried the following to display an icon at the task bar:
After the line

    icn <- iconCreateDefault

I added

    iconCopyFromBitmap icn (bitmap "../bitmaps/wxwin.ico")

This resulted in the message
Segmentation fault/access violation in generated code
(after pressing "close")
Then I tried

    bmp <- bitmapCreateFromFile "../bitmaps/wxwin.ico"
    iconCopyFromBitmap icn bmp

with the same result.

This might a bug in wxHaskell, or TestTaskBarIcon.hs must be patched some other way.

Discussion

  • Henk-Jan van Tuyl

    OS: Windows XP
    GHC version: 7.6.3
    wxWidgets version: 2.9.5
    wxHaskell version: 0.90.1.0 (currently in Github repository)

     
  • Henk-Jan van Tuyl

    • status: open --> closed-fixed
     
  • Henk-Jan van Tuyl

    TestTaskBarIcon now displays an icon instead of an empty field in the taskbar. The crash seems unrelated, many sample programs crash the same way (on Windows).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks