1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| class csv_parserFrm : public wxFrame
{
private:
DECLARE_EVENT_TABLE();
public:
csv_parserFrm(wxWindow *parent, wxWindowID id = 1, const wxString &title = wxT("csv-parser"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = csv_parserFrm_STYLE);
virtual ~csv_parserFrm();
void Mnuopen1007Click(wxCommandEvent& event);
void previewClick(wxCommandEvent& event);
void checkClick(wxCommandEvent& event);
private:
//Do not add custom control declarations between
//GUI Control Declaration Start and GUI Control Declaration End.
//wxDev-C++ will remove them. Add custom code after the block.
////GUI Control Declaration Start
wxFileDialog *WxOpenFileDialog1;
wxMenuBar *WxMenuBar1;
wxButton *preview;
wxButton *check;
wxTextCtrl *WxMemo1;
wxSplitterWindow *WxSplitterWindow1;
wxStatusBar *WxStatusBar1;
////GUI Control Declaration End
private:
//Note: if you receive any error with these enum IDs, then you need to
//change your old form code that are based on the #define control IDs.
//#defines may replace a numeric value for the enum names.
//Try copy and pasting the below block in your old form header files.
enum
{
////GUI Enum Control ID Start
ID_MNU_FILE_1006 = 1006,
ID_MNU_OPEN_1007 = 1007,
ID_PREVIEW = 1012,
ID_CHECK = 1010,
ID_WXMEMO1 = 1009,
ID_WXSPLITTERWINDOW1 = 1005,
ID_WXSTATUSBAR1 = 1004,
////GUI Enum Control ID End
ID_DUMMY_VALUE_ //don't remove this value unless you have other enum values
};
private:
void OnClose(wxCloseEvent& event);
void CreateGUIControls();
}; |
Partager