I have recently "ported" one of my wx Projects that I originally made in 2014 with version 2.8 to the latest 3.1.2 and had to apply a whole lot of adaptations, but eventually got it to work nicely in Windows 7 (still haven't tested with Win10, tho).
The problem is on the Mac. D'oh!
The program compiles and runs, but here's a few issues:
1. all wxStaticBitmap elements to which I have Connected an event handler do not respond to mouse clicks. Here's an example:
Code: Select all
bmpCover = new wxStaticBitmap(this, ID_LOGO_BITMAP, Logo_png_to_wx_bitmap(), wxPoint(270, 10), wxDefaultSize, 0 ); bmpCover->Connect( wxEVT_LEFT_DOWN, wxCommandEventHandler( MainWindow::OnMenuAbout), NULL, this );
So, my questions are:
1. How can I have a wxStaticBitmap that can respond to mouse clicks in OSX 10.14 (like it does in Windows and used to do as long as I used wx2.?
2. Can I specify two different foreground colors, one for the frame and one for each combobox?
Thanks in advance.