29 lines
664 B
C++
29 lines
664 B
C++
//
|
|
// Created by sinxm on 24-8-5.
|
|
//
|
|
|
|
#ifndef MAINWIDGET_H
|
|
#define MAINWIDGET_H
|
|
|
|
#include <wx/wx.h>
|
|
|
|
class CMainWidget : public wxPanel
|
|
{
|
|
protected:
|
|
wxStaticBox* ui_basic_box_{};
|
|
wxStaticBoxSizer* ui_box_sizer_{};
|
|
wxStaticText* label_select_{};
|
|
wxBoxSizer* sizer_select_{};
|
|
wxTextCtrl* text_select_ctrl_{};
|
|
wxButton* btn_select_{};
|
|
|
|
public:
|
|
explicit CMainWidget(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(649, 422),
|
|
long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString);
|
|
|
|
public:
|
|
void InitUi();
|
|
};
|
|
|
|
#endif // MAINWIDGET_H
|