mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 04:12:07 +00:00
FIX:fix the device interface button adaptation problem
Change-Id: Ide49dce78dd83cdb87e13dc93fb128e554d36871
This commit is contained in:
22
src/slic3r/GUI/Widgets/ErrorMsgStaticText.hpp
Normal file
22
src/slic3r/GUI/Widgets/ErrorMsgStaticText.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
#ifndef _WX_ERRORMSGSTATTEXT_H_
|
||||
#define _WX_ERRORMSGSTATTEXT_H_
|
||||
|
||||
#include "wx/stattext.h"
|
||||
|
||||
class WXDLLIMPEXP_CORE ErrorMsgStaticText : public wxPanel
|
||||
{
|
||||
public:
|
||||
wxString m_msg;
|
||||
ErrorMsgStaticText();
|
||||
ErrorMsgStaticText(wxWindow *parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxSize(0,0));
|
||||
|
||||
void paintEvent(wxPaintEvent &evt);
|
||||
|
||||
void SetLabel(wxString msg){m_msg = msg;};
|
||||
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user