Search code examples
c++imageuser-interfacebuttonwxwidgets

wxWidgets - remove the frame around a Bitmap Button


I'm just getting started with wxWidgets, so please be kind on me. How can i disable, that a frame appears around a Button, when the mouse enters the Button. Or is the another/easier way to make a Picture click-able ?


Solution

  • You might be looking for wxBitmapButton which allows you to set different bitmaps for its different states (focused, pressed, ...).

    If not, then you really need to explain more clearly what are you after.