#68 samples\wx\Print.hs: window disappears when a menu option is selected

confirmed
open
nobody
None
5
2 days ago
2013-09-07
No

The sample program Print.hs crashes when File/Print a test, File/Print preview or File/Page setup... is selected

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

Discussion

  • This still happens for File/Page setup...
    The option "File/Print preview" results in a window with the message:

    wxWidgets Debug Alert
    ../../src/common/object.cpp(417): assert "Assert failure" failed in CreateRefData(): CreateRefData() must be overridden if called!
    Do you want to stop the program?
    You can also choose [Cancel] to suppress further warnings.
    

    Current configuration:
    OS: Windows 8.1
    GHC version: 7.10.2
    wxWidgets version: 3.0.2
    wxHaskell version: 0.92.0.0 (currently in Github repository)