wxwidgets/src/x11
Scott Talbert fc35ad92bb Remove unnecessary empty destructors
These cause a problem for GCC 14 which detects that there are no
corresponding copy constructors and assignment operators and gives
-Wdeprecated-copy-dtor due to their presence, e.g.

/home/fedora/swt2c/wxWidgets/bld/bk-deps g++ -c -o test_allheaders_allheaders.o  -I/home/fedora/swt2c/wxWidgets/bld/lib/wx/include/gtk3-unicode-3.3 -I../../include -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/blkid -I/usr/include/at-spi-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/fribidi -I/usr/include/sysprof-6 -pthread -I/usr/include/libpng16 -DWITH_GZFILEOP  -D__WXGTK__      -I../../tests -DWXUSINGDLL -I../../tests/../samples -I../../3rdparty/catch/single_include -pthread -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -O2 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/libxml2 -I/usr/include/sysprof-6 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/cloudproviders -I/usr/include/at-spi-2.0 -I/usr/include/gio-unix-2.0  -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DPIC   ../../tests/allheaders.cpp
In file included from ../../include/wx/evtloop.h:13,
                 from ../../tests/testprec.h:5,
                 from ../../tests/allheaders.cpp:369:
../../include/wx/event.h: In copy constructor ‘wxSetCursorEvent::wxSetCursorEvent(const wxSetCursorEvent&)’:
../../include/wx/event.h:1943:11: error: implicitly-declared ‘wxCursor::wxCursor(const wxCursor&)’ is deprecated [-Werror=deprecated-copy-dtor]
 1943 |           m_cursor(event.m_cursor)
      |           ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../include/wx/cursor.h:51,
                 from ../../include/wx/event.h:21:
../../include/wx/gtk/cursor.h:37:13: note: because ‘wxCursor’ has user-provided ‘virtual wxCursor::~wxCursor()’
   37 |     virtual ~wxCursor();
      |             ^
../../include/wx/event.h: In member function ‘void wxSetCursorEvent::SetCursor(const wxCursor&)’:
../../include/wx/event.h:1949:57: error: implicitly-declared ‘wxCursor& wxCursor::operator=(const wxCursor&)’ is deprecated [-Werror=deprecated-copy-dtor]
 1949 |     void SetCursor(const wxCursor& cursor) { m_cursor = cursor; }
      |                                                         ^~~~~~
../../include/wx/gtk/cursor.h:37:13: note: because ‘wxCursor’ has user-provided ‘virtual wxCursor::~wxCursor()’
   37 |     virtual ~wxCursor();
      |             ^

Fixes #24248.

Closes #24255.
2024-01-28 18:16:07 +01:00
..
app.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
bdiag.xbm fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575 2014-09-23 17:44:01 +00:00
bitmap.cpp Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
brush.cpp Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
cdiag.xbm fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575 2014-09-23 17:44:01 +00:00
clipbrd.cpp Fix typo in "receive" occurring a few times 2023-12-27 02:56:20 +01:00
colour.cpp Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
cross.xbm fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575 2014-09-23 17:44:01 +00:00
cursor.cpp Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
data.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dataobj.cpp Fix comment typos in sources 2021-10-03 17:07:44 +02:00
dc.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dcclient.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dcmemory.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dcscreen.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
descrip.mms Suppress warnings on OpenVMS 2020-07-20 16:24:27 +02:00
dnd.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
evtloop.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
fdiag.xbm fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575 2014-09-23 17:44:01 +00:00
font.cpp Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
glcanvas.cpp Remove support for wxMotif 2022-10-16 16:39:56 +02:00
horiz.xbm fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575 2014-09-23 17:44:01 +00:00
minifram.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
nanox.c Replace tabs with spaces 2020-12-23 17:03:10 +01:00
palette.cpp Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
pango_x.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
pen.cpp Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
popupwin.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
region.cpp Initialize base class in copy ctor in the other ports too 2023-07-04 01:24:43 +02:00
reparent.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
settings.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
textctrl.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
toplevel.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
utils.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
utilsx.cpp Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
verti.xbm fix complilation error: narrowing conversions in xbm files under wxX11. For discussion, please see ticket 12575 2014-09-23 17:44:01 +00:00
window.cpp Fix crash on shutdown of wxX11 GUI applications not using GUI 2023-10-24 01:21:22 +02:00
wxwin.xbm