wxwidgets/include/wx/generic
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
..
private Remove extraneous semicolons 2023-11-23 09:25:03 -08:00
aboutdlgg.h Add wxGenericAboutDialog::GetCustomControlParent() 2023-06-20 19:19:49 +02:00
accel.h Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
activityindicator.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
animate.h Stop using wxClientDC in wxGenericAnimationCtrl 2023-08-25 20:51:21 +02:00
bmpcbox.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
busyinfo.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
buttonbar.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
calctrlg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
caret.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
choicdgg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
clrpickerg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
collheaderctrl.h Allow parent background to show through wxCollapsibleHeaderCtrl 2023-02-20 22:11:23 +00:00
collpaneg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
colour.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
colrdlgg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
combo.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
creddlgg.h Update wxCredentialEntryDialog to use wxWebCredentials 2021-01-10 21:27:15 +01:00
ctrlsub.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
custombgwin.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
dataview.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
datectrl.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dcpsg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dirctrlg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
dirdlgg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dragimgg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
dvrenderer.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
dvrenderers.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
fdrepdlg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
filectrlg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
filedlgg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
filepickerg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
fontdlgg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
fontpickerg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
fswatcher.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
grid.h Fix using Alt under MSW when wxGrid has focus 2024-01-28 18:09:10 +01:00
gridctrl.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
grideditors.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
gridsel.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
headerctrlg.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
helpext.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
hyperlink.h Implement wxGenericHyperlinkCtrl::GetDefaultAttributes() 2023-05-12 03:58:55 +01:00
icon.h Hide operator<<() overloads used for wxVariant support too 2024-01-06 23:06:02 +01:00
imaglist.h Refactor wxImageList classes to use wxImageListBase 2023-11-03 01:53:36 +01:00
infobar.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
laywin.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
listctrl.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
logg.h Flush wxLogGui before showing a modal dialog 2024-01-28 17:31:38 +01:00
mask.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
mdig.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
msgdlgg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
notebook.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
notifmsg.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
numdlgg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
paletteg.h Remove unnecessary empty destructors 2024-01-28 18:16:07 +01:00
printps.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
prntdlgg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
progdlgg.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
propdlg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
region.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
richmsgdlgg.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
sashwin.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
scrolwin.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
spinctlg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
splash.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
splitter.h Add wxSplitterWindow::AlwaysUsesLiveUpdate() 2023-12-26 19:27:50 +01:00
srchctlg.h Implement wxSearchCtrl::GetEditHWND() correctly in wxMSW 2023-10-25 23:45:23 +02:00
statbmpg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
statline.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
stattextg.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
statusbr.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
tabg.h Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02:00
textdlgg.h Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
timectrl.h Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
treectlg.h Adjust indent and spacing after DPI change if necessary 2023-12-11 02:19:02 +01:00
wizard.h Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00