OrcaSlicer/src/slic3r/GUI/Widgets/ErrorMsgStaticText.hpp
Aidan 951fc8e98a
A *lot* of import fixes for flatpak (#3909)
* A *lot* of import fixes for flatpak

Aside, thank you @hadess for the majority of these fixes. You are the
base point for a lot of issues fixed during the creation of this
flatpak.

* Use slic3r::load_string_file

Boost 1.84 removed `boost::fs::load_string_file` so use the func located
in Utils.hpp
2024-01-31 11:23:29 +00:00

24 lines
522 B
C++

#ifndef _WX_ERRORMSGSTATTEXT_H_
#define _WX_ERRORMSGSTATTEXT_H_
#include <wx/panel.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