kicad/include/dialogs
Wayne Stambaugh 66f6168163 Fix mode-less dialog issues.
Don't assume the dialog is mode-less and call Destroy() from within a
dialog method.  This will most assuredly crash if the dialog is shown
modally or quasi-modally.

Don't leak memory for mode-less dialogs created on the stack.  Make sure
when the parent frame window is closed that all mode-less dialog memory
is cleaned up.  Dialogs are not child windows like controls and toolbars
so their memory does not automatically get cleaned up when the parent
window is destroyed.

Do not directly access frame parent window's pointer in dialog destructors.
Apparently the tear down order when destroying mode-less dialogs is not
guaranteed so the parent window may get deleted before the dialog causing
a crash when accessing the parent window pointer from the dialog dtor.

Do not close mode-less dialogs in the parent frame's destructor.  This
doesn't guarantee that the dialog(s) will be destroyed before the parent
but it may reduce some careless mode-less dialog event handling in the
future.
2023-03-13 12:04:01 -04:00
..
dialog_assign_netclass.h Prevent out of scope lambda use 2022-09-28 17:18:04 -07:00
dialog_book_reporter.h Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
dialog_color_picker.h Link updating of hex value and opacity slider. 2021-08-31 21:24:20 +01:00
dialog_configure_paths.h Strip out and migrate 3d search paths in favor of env vars 2022-09-25 21:29:52 -04:00
dialog_edit_library_tables.h Move dialog_configure_paths.h and dialog_edit_library_tables.h to dialogs folder 2020-10-25 20:01:12 -04:00
dialog_global_lib_table_config.h Fix paths for Copy default global library table. 2023-01-27 09:24:52 +03:00
dialog_grid_settings.h Re-enable custom grid settings for Pcbnew 2021-02-21 15:33:13 -05:00
dialog_hotkey_list.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
dialog_image_editor.h Move headers from common folders to appropriate include folders round 2. 2020-12-17 11:44:03 -05:00
dialog_locked_items_query.h Stop using wxDialog::EndModal() from inside dialogs. 2021-07-21 17:38:14 -04:00
dialog_migrate_settings.h Move headers from common folders to appropriate include folders round 2. 2020-12-17 11:44:03 -05:00
dialog_page_settings.h Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
dialog_paste_special.h Schematic: Automatic Symbol Annotation 2022-05-27 15:54:00 +00:00
dialog_print_generic.h Stop using wxDialog::EndModal() from inside dialogs. 2021-07-21 17:38:14 -04:00
dialog_text_entry.h Allow user to set footprint type up front 2021-09-24 13:48:01 -07:00
dialog_unit_entry.h Move headers from common folders to appropriate include folders round 2. 2020-12-17 11:44:03 -05:00
eda_reorderable_list_dialog.h ADDED: Column selection and reordering in symbol chooser 2022-09-25 22:49:49 -04:00
eda_view_switcher.h Viewport switcher keys are platform-specific. 2022-10-27 14:28:11 +01:00
html_message_box.h Add doc link to custom rules syntax help. 2023-02-12 21:34:35 +00:00
panel_color_settings.h Implement Reset to Defaults for all preferences panels. 2021-12-24 17:38:39 +00:00
panel_common_settings.h Added common option to hide scrollbars 2022-09-13 22:15:27 +03:00
panel_data_collection.h Introduce sentry for crash data collection 2022-04-02 01:21:55 +00:00
panel_gal_display_options.h All the preferences, all the time. 2021-12-24 13:08:44 +00:00
panel_image_editor.h Images: Add full properties editor 2022-07-14 11:23:23 +00:00
panel_mouse_settings.h Add Reset buttons for mouse and trackpad defaults. 2021-03-01 14:14:00 +00:00
panel_setup_netclasses.h Handle multiple unitProviders in a WX_GRID. 2022-11-05 10:23:12 +00:00
panel_setup_severities.h Move headers from common folders to appropriate include folders round 1. 2020-12-17 08:12:18 -05:00