https://github.com/jrincayc/ucblogo-code
Revision 9ff7afe2c4d948e1e0b57904300c57af5f45c99c authored by Andras Pahi on 21 January 2020, 09:01:59 UTC, committed by Andras Pahi on 21 January 2020, 09:01:59 UTC
1 parent e33ad22
Tip revision: 9ff7afe2c4d948e1e0b57904300c57af5f45c99c authored by Andras Pahi on 21 January 2020, 09:01:59 UTC
added TIME to return current time in seconds
added TIME to return current time in seconds
Tip revision: 9ff7afe
TextEditor.h
#include <wx/fdrepdlg.h>
class TextEditor : public wxTextCtrl{
public:
TextEditor(wxWindow* const, int, wxString, const wxPoint&, const wxSize&, int, wxFont font);
void OnSave();
void OnFind();
void OnFindNext();
void DoPaste();
void DoCopy();
void DoCut();
void DoPrint();
void OnCloseAccept();
void OnCloseReject();
bool Load(const wxString& filename);
void SetFont(wxFont font);
void SetThisFont(wxCommandEvent&);
int stateFlag;
int doSave;
private:
wxFindReplaceDialog *findDlg;
wxFindReplaceData *findData;
wxString *prevFind;
wxFont font;
void OnCloseEvent(wxCloseEvent& event);
void OnFindDialog(wxFindDialogEvent& event);
void Close();
int Find (const wxString & sSearch, int start);
wxString file;
DECLARE_EVENT_TABLE()
};
Computing file changes ...