mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-23 10:52:15 +00:00
NEW:popup warning message when has filament in the extrusion
Change-Id: Ice9a3b5e6ae6ef8514213e61d9034ceb4c585093
This commit is contained in:
@@ -124,21 +124,21 @@ public:
|
||||
|
||||
#if 1
|
||||
// Generic static line, used intead of wxStaticLine
|
||||
class StaticLine: public wxTextCtrl
|
||||
{
|
||||
public:
|
||||
StaticLine( wxWindow* parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxLI_HORIZONTAL,
|
||||
const wxString& name = wxString::FromAscii(wxTextCtrlNameStr))
|
||||
: wxTextCtrl(parent, id, wxEmptyString, pos, size!=wxDefaultSize ? size : (style == wxLI_HORIZONTAL ? wxSize(10, 1) : wxSize(1, 10)), wxSIMPLE_BORDER, wxDefaultValidator, name)
|
||||
{
|
||||
this->Enable(false);
|
||||
}
|
||||
~StaticLine() {}
|
||||
};
|
||||
//class StaticLine: public wxTextCtrl
|
||||
//{
|
||||
//public:
|
||||
// StaticLine( wxWindow* parent,
|
||||
// wxWindowID id = wxID_ANY,
|
||||
// const wxPoint& pos = wxDefaultPosition,
|
||||
// const wxSize& size = wxDefaultSize,
|
||||
// long style = wxLI_HORIZONTAL,
|
||||
// const wxString& name = wxString::FromAscii(wxTextCtrlNameStr))
|
||||
// : wxTextCtrl(parent, id, wxEmptyString, pos, size!=wxDefaultSize ? size : (style == wxLI_HORIZONTAL ? wxSize(10, 1) : wxSize(1, 10)), wxSIMPLE_BORDER, wxDefaultValidator, name)
|
||||
// {
|
||||
// this->Enable(false);
|
||||
// }
|
||||
// ~StaticLine() {}
|
||||
//};
|
||||
|
||||
// Generic message dialog, used intead of wxMessageDialog
|
||||
class MessageDialog : public MsgDialog
|
||||
|
||||
Reference in New Issue
Block a user