There's a wxPowerEvent example? Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
User avatar
Parduz
I live to help wx-kind
I live to help wx-kind
Posts: 188
Joined: Fri Jan 30, 2015 1:48 pm
Location: Bologna, Italy

There's a wxPowerEvent example?

Post by Parduz »

I'd like to see how to bind the "power events" and handle them.

I need to close/reopen virtual serial ports and restablish communication with USB devices, but i don't get if i should manage the events in the frame or in the app.
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: There's a wxPowerEvent example?

Post by doublemax »

There is a "power" sample that comes with wxWidgets.
Use the source, Luke!
Post Reply