FIX:fix the device interface button adaptation problem

Change-Id: Ide49dce78dd83cdb87e13dc93fb128e554d36871
This commit is contained in:
xiangdong.yang
2022-08-29 15:31:54 +08:00
committed by Lane.Wei
parent ed1870b3a5
commit 1337498efa
5 changed files with 18 additions and 18 deletions

View 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