wxMax clipboard support

BlitzMax Modules Forums/Brucey's Modules/wxMax clipboard support

There is a module in wxMax called wxClipboard, but I can't seem to figure out exactly what it's for or how to use it..
How can we access the clipboard using Linux?


Ok, there is wxClipboard and wxTextDataObject.. to be able to use wxMax stuff we have to import and use a wxApp framework?

to be able to use wxMax stuff we have to import and use a wxApp framework?

Anything in "wx" requires the basic framework - since wxWidgets manages its own objects GC etc.

I fiddled with the mainloop sample and used it's method.

I get a sigfault when I set ShouldExit based on AppTerminate but not when I set it based on KeyDown(KEY_ESCAPE).

Strange, but it works :)