Add wxNODISCARD macro which is defined as [[nodiscard]] if supported, or the compiler-specific equivalent if one exists or nothing if not available. Start using it for some places with a risk of memory leak. Closes #22943. |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||
Add wxNODISCARD macro which is defined as [[nodiscard]] if supported, or the compiler-specific equivalent if one exists or nothing if not available. Start using it for some places with a risk of memory leak. Closes #22943. |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||