mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 23:32:10 +00:00
ENH: add a prompt dialog box to prompt
for synchronization of machine information when opening a file jira:none Change-Id: I7b3419bb3489a5b6a37a99b5021c7e69ac35a009 (cherry picked from commit 6437437fe0c83f7c14f7ee5b339475d6db559a56)
This commit is contained in:
@@ -48,7 +48,7 @@ private:
|
||||
std::string m_app_key;
|
||||
|
||||
public:
|
||||
TipsDialog(wxWindow *parent, const wxString &title, const wxString &description, std::string app_key = "");
|
||||
TipsDialog(wxWindow *parent, const wxString &title, const wxString &description, std::string app_key = "", long style = wxOK);
|
||||
Button *m_confirm{nullptr};
|
||||
Button *m_cancel{nullptr};
|
||||
wxPanel *m_top_line{nullptr};
|
||||
@@ -58,6 +58,7 @@ protected:
|
||||
void on_dpi_changed(const wxRect &suggested_rect) override;
|
||||
void on_ok(wxMouseEvent &event);
|
||||
wxBoxSizer *create_item_checkbox(wxString title, wxWindow *parent, wxString tooltip, std::string param);
|
||||
Button* add_button(wxWindowID btn_id, const wxString &label, bool set_focus = false);
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user