wxWidgets/tests/misc
Vadim Zeitlin b91173f76e Fix comparing wxDataFormat with wxDF_INVALID in wxGTK
Define wxDataFormat::operator==(wxDataFormatId) instead of relying on
the implicit conversion from wxDataFormatId to wxDataFormat, as this
can't be done when the format ID is wxDF_INVALID because creating
wxDataFormat results in an assert failure in this case, while comparing
with wxDF_INVALID is clearly a perfectly valid operation.

Add a unit test checking for this.

Closes #22213.
2022-03-23 13:43:44 +01:00
..
dynamiclib.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
environ.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
garbage.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
guifuncs.cpp Fix comparing wxDataFormat with wxDF_INVALID in wxGTK 2022-03-23 13:43:44 +01:00
metatest.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
misctests.cpp Fix tests build with wxDEBUG_LEVEL==0 2021-08-21 15:05:13 +02:00
module.cpp Add wxModule::AreInitialized() 2021-03-07 20:39:09 +01:00
pathlist.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
safearrayconverttest.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
selstoretest.cpp Add a unit test exercising the bug fix in the parent commit 2021-01-23 16:40:30 +01:00
settings.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
typeinfotest.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00