Bring wxMSW wxBitmap::SetBitmapXXX(wxBitmap()) in line with wxGTK.
Remove or reset the corresponding bitmap if the provided one is invalid instead of asserting, this is what wxGTK does and this behaviour seems to be more useful. Also document this behaviour as it's now implemented in both wxMSW and wxGTK. Closes #13569. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -646,6 +646,7 @@ wxMSW:
|
||||
- Fix loading of top to bottom BMP files in wxBitmap (Artur Wieczorek).
|
||||
- Fix resource leak in wxStaticBitmap with RGBA icons (Artur Wieczorek).
|
||||
- Fix toolbar repainting after deleting a tool from it (Artur Wieczorek).
|
||||
- Allow resetting bitmaps used in wxButton (Artur Wieczorek).
|
||||
- Fix handling of deleting directories in wxFileSystemWatcher (Eric Raijmakers).
|
||||
- Disable the use of new style wxDirDialog under Vista to work around a bug in
|
||||
its implementation under this system (jtrauntvein).
|
||||
|
Reference in New Issue
Block a user