mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-27 00:24:00 -06:00
RichMessageDialog on non-MSW platforms: Set escape ID to wxID_CANCEL
+ Fixed behavior of the "Open hyperlink" dialog when "cross"(close window button) is clicked.
This commit is contained in:
parent
27883caa08
commit
f1429f026c
2 changed files with 5 additions and 1 deletions
|
@ -293,7 +293,9 @@ public:
|
|||
const wxString& message,
|
||||
const wxString& caption = wxEmptyString,
|
||||
long style = wxOK)
|
||||
: wxRichMessageDialog(parent, message, caption, style) {}
|
||||
: wxRichMessageDialog(parent, message, caption, style) {
|
||||
this->SetEscapeId(wxID_CANCEL);
|
||||
}
|
||||
~RichMessageDialog() {}
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue