mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 20:02:17 +00:00
ENH:add "forward" function in MsgDialog
jira: STUDIO-9971 Change-Id: I699912b4d18cb52aec2badf64a4655d20559ed7c (cherry picked from commit f608327a108c1eece45ee75bde0c3aa35974f166)
This commit is contained in:
@@ -78,7 +78,7 @@ protected:
|
||||
VERT_SPACING = 15,//TO
|
||||
};
|
||||
|
||||
MsgDialog(wxWindow *parent, const wxString &title, const wxString &headline, long style = wxOK, wxBitmap bitmap = wxNullBitmap);
|
||||
MsgDialog(wxWindow *parent, const wxString &title, const wxString &headline, long style = wxOK, wxBitmap bitmap = wxNullBitmap, const wxString &forward_str = "");
|
||||
// returns pointer to created button
|
||||
Button* add_button(wxWindowID btn_id, bool set_focus = false, const wxString& label = wxString());
|
||||
// returns pointer to found button or NULL
|
||||
@@ -93,6 +93,7 @@ protected:
|
||||
wxStaticBitmap *logo;
|
||||
MsgButtonsHash m_buttons;
|
||||
CheckBox* m_checkbox_dsa{nullptr};
|
||||
wxString m_forward_str;
|
||||
};
|
||||
|
||||
|
||||
@@ -154,10 +155,7 @@ class MessageDialog : public MsgDialog
|
||||
{
|
||||
public:
|
||||
// NOTE! Don't change a signature of contsrucor. It have to be tha same as for wxMessageDialog
|
||||
MessageDialog( wxWindow *parent,
|
||||
const wxString& message,
|
||||
const wxString& caption = wxEmptyString,
|
||||
long style = wxOK);
|
||||
MessageDialog(wxWindow *parent,const wxString& message, const wxString &caption = wxEmptyString, long style = wxOK,const wxString& forward_str = "");
|
||||
MessageDialog(MessageDialog&&) = delete;
|
||||
MessageDialog(const MessageDialog&) = delete;
|
||||
MessageDialog &operator=(MessageDialog&&) = delete;
|
||||
|
||||
Reference in New Issue
Block a user