kicad/common/widgets
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
..
app_progress_dialog.cpp Turn on and fix MSVC compliance mode issues 2023-02-12 16:30:37 -05:00
bitmap_button.cpp More wxSing 2023-01-16 23:14:38 -05:00
bitmap_toggle.cpp Don't fix the visibility icon size or it will never scale properly 2022-10-30 15:03:00 -04:00
button_row_panel.cpp Coding policy fixes. 2021-02-09 11:35:43 -05:00
color_swatch.cpp Improve HiDPI handling of appearance/layer controls 2023-02-22 09:20:36 -05:00
font_choice.cpp Fix up handling of font names available in multiple names 2023-02-21 20:26:41 -05:00
footprint_choice.cpp More wxSing 2023-01-16 23:14:38 -05:00
footprint_diff_widget.cpp Drawing improvements for symbol & footprint diffs. 2023-03-11 12:45:16 +00:00
footprint_preview_widget.cpp Graphical diff for board vs library footprints. 2023-03-10 17:16:40 +00:00
footprint_select_widget.cpp More wxSing 2023-01-16 23:14:38 -05:00
gal_options_panel.cpp Flat(er) look for paged dialogs. 2023-01-11 01:11:25 +00:00
grid_bitmap_toggle.cpp Fix missing include 2020-08-25 15:58:18 +00:00
grid_color_swatch_helpers.cpp ADDED use-settable simulation trace colors. 2023-02-11 21:11:07 +00:00
grid_combobox.cpp SCH_NETCLASS_FLAGs and SCH_FIELDs for labels. 2021-12-24 16:13:27 +00:00
grid_icon_text_helpers.cpp Move model pin editor to GRID_CELL_ICON_TEXT_POPUP. 2022-10-28 15:27:00 +01:00
grid_text_button_helpers.cpp ADDED show pin names on footprint pads when assigning to symbol. 2022-07-24 23:41:41 +01:00
grid_text_helpers.cpp Coverity fixes and code cleaning. 2023-03-02 09:04:47 -05:00
indicator_icon.cpp Remove wx.h from many files 2021-06-03 02:19:20 +01:00
layer_box_selector.cpp Fix layer widget in HiDPI situations 2023-02-22 09:20:30 -05:00
lib_tree.cpp Default a library item selection if there is none. 2022-12-26 14:11:46 +00:00
mathplot.cpp Don't allocate all of memory when the coord system turns inside out. 2023-02-26 21:53:05 +00:00
msgpanel.cpp Don't use wxScreenDC as this returns "a" screen but not "the" screen 2022-03-13 23:31:16 -04:00
net_selector.cpp UI: Add Numpad Enter as "Return" equivalent in missing places 2023-03-10 16:25:17 -05:00
number_badge.cpp More wxSing 2023-01-16 23:14:38 -05:00
paged_dialog.cpp Flat(er) look for paged dialogs. 2023-01-11 01:11:25 +00:00
progress_reporter_base.cpp PROGRESS_REPORTER_BASE: call code to resize it only if the message has change. 2022-08-01 13:18:50 +02:00
properties_panel.cpp Enable properties panel in footprint editor 2023-02-17 20:35:56 -05:00
properties_panel.h Properties: fix rebuilding when availability changes 2023-02-11 15:50:51 -05:00
search_pane.cpp Coverity fixes and code cleaning. 2023-03-02 09:04:47 -05:00
search_pane_base.cpp Differentiate search panel font between Mac and others. 2022-12-13 00:47:19 +00:00
search_pane_base.fbp Differentiate search panel font between Mac and others. 2022-12-13 00:47:19 +00:00
search_pane_base.h Fix some layout and selection issues on Mac. 2022-12-11 00:56:46 +00:00
search_pane_tab.cpp Search Pane: add Activation (enter/double click) event support 2023-02-13 10:57:05 -05:00
split_button.cpp More wxSing 2023-01-16 23:14:38 -05:00
std_bitmap_button.cpp More wxSing 2023-01-16 23:14:38 -05:00
stepped_slider.cpp Fix various typos 2022-07-21 16:31:41 +00:00
text_ctrl_eval.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
ui_common.cpp More wxSing 2023-01-16 23:14:38 -05:00
unit_binder.cpp Fix mode-less dialog issues. 2023-03-13 12:04:01 -04:00
widget_hotkey_list.cpp More wxSing 2023-01-16 23:14:38 -05:00
widget_save_restore.cpp Excise deci-degrees from UNIT_BINDER. 2022-01-19 00:10:32 +00:00
wx_aui_art_providers.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
wx_aui_utils.cpp Hierarchy: turn into a left side pane 2022-06-02 21:56:17 +00:00
wx_busy_indicator.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
wx_collapsible_pane.cpp UI: Add Numpad Enter as "Return" equivalent in missing places 2023-03-10 16:25:17 -05:00
wx_combobox.cpp Another try at getting the Link combobox working on MSW. 2022-08-28 23:25:01 +01:00
wx_ellipsized_static_text.cpp Properly ellipsize layer names in the GerbView layer manager 2021-03-26 15:50:56 +00:00
wx_grid.cpp Don't specify fonts in wxFormBuilder. It only leads to pain. 2023-01-18 12:28:07 +00:00
wx_html_report_box.cpp ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
wx_html_report_box.h ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
wx_html_report_panel.cpp More wxSing 2023-01-16 23:14:38 -05:00
wx_html_report_panel.h ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
wx_html_report_panel_base.cpp ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
wx_html_report_panel_base.fbp ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
wx_html_report_panel_base.h ADDED netclass assignment from PCB canvas. 2022-09-03 19:29:59 +01:00
wx_infobar.cpp Class name <-> file name sync. 2022-12-29 18:05:57 +00:00
wx_listbox.cpp Add pinned library support to Footprint and Symbol Viewers. 2022-07-09 17:41:10 -06:00
wx_panel.cpp Flat(er) look for paged dialogs. 2023-01-11 01:11:25 +00:00
wx_progress_reporters.cpp PROGRESS_REPORTER_BASE: call code to resize it only if the message has change. 2022-08-01 13:18:50 +02:00
wx_splitter_window.cpp Decouple left and right pane minimums for splitter window. 2021-11-12 02:12:44 +00:00