Repository navigation
Replace deprecated wxBitmap methods (fix build on wxWidgets 3.3) - #1561
Conversation
|
Unfortunately this breaks tooltips in windows. It looks like there is some kind of bug with the wxBitmap copy constructor (unless there's something I'm missing) - the line I managed to get around the issue by removing |
|
There's indeed something going wrong on Windows with the bitmaps - I'll take a look... |
|
FWIW, the fact that |
wxBitmap::SetWidth and wxBitmap::SetHeight have been deprecated since wxWidgets 3.1.2 and are removed in the current v3.3 development trunk. Use wxBitmap::GetSubBitmap as an alternative.
|
PR updated, Windows works now. I kept the same approach of using PS: I also dropped the part of the PR fixing |
Stop using some deprecated
wxBitmapmethods (wxBitmap::SetWidth,wxBitmap::SetHeight) which have been deprecated sincewxWidgets 3.1.2 and are removed in the current v3.3 development trunk.
With this SLADE builds fine on the current wxWidgets 3.3 development trunk.
I also verified the changes against wxWidgets (wxGTK) 3.0.5 and 3.2.4.