From 4f64fdc7d55031718ca9c59188d0af1e5870577c Mon Sep 17 00:00:00 2001 From: Saleem Edah-Tally Date: Mon, 14 Jul 2025 13:23:52 +0200 Subject: [PATCH] Reparent the Stamps dialog to the calling widget. --- Resources/InsaneWidget/XInsaneWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/InsaneWidget/XInsaneWidget.cpp b/Resources/InsaneWidget/XInsaneWidget.cpp index b68eea8..0ab6bef 100644 --- a/Resources/InsaneWidget/XInsaneWidget.cpp +++ b/Resources/InsaneWidget/XInsaneWidget.cpp @@ -474,7 +474,7 @@ void XInsaneWidget::OnBtnScanRightClick ( wxMouseEvent& evt ) if (!m_dlgStampWidgets) { m_dlgStampWidgets = std::make_unique - (nullptr, wxID_ANY, _("Stamps"), + (this, wxID_ANY, _("Stamps"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxRESIZE_BORDER | wxCLOSE_BOX); m_dlgStampWidgets->SetSize(600, 500);