https://github.com/jrincayc/ucblogo-code
Revision bae19ddaf4d2a1564c7b3d9bb7b2a1a9a88414ef authored by Joshua J. Cogliati on 19 December 2020, 02:36:06 UTC, committed by Joshua J. Cogliati on 19 December 2020, 02:49:29 UTC
1 parent 53367e1
Tip revision: bae19ddaf4d2a1564c7b3d9bb7b2a1a9a88414ef authored by Joshua J. Cogliati on 19 December 2020, 02:36:06 UTC
Windows updates for build system changes and wxWidgets 3.0.5
Windows updates for build system changes and wxWidgets 3.0.5
Tip revision: bae19dd
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 ...