Revision 62fc2f7d6c41edcf685277a872c68e47a76fb254 authored by Dan Malec on 12 December 2020, 01:50:52 UTC, committed by Dan Malec on 14 December 2020, 02:13:28 UTC
* Add a workflow which builds candidate release artifacts for Linux, OSX, & Windows
* Cache wxWidgets builds for build speed and to not put load on their servers
* Cache download of inno installer to avoid putting load on their servers
* Create a development release
* Fixed compiler error that shows up on OSX CD machines
1 parent 7f090ac
Raw File
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()
		
};
back to top