https://github.com/jrincayc/ucblogo-code
Revision a3598a9b05befc6afc1e23463262cd9b3aa62501 authored by brianharvey on 14 September 2008, 04:56:48 UTC, committed by brianharvey on 14 September 2008, 04:56:48 UTC
git-svn-id: https://svn.code.sf.net/p/ucblogo/code@206 fc4ef4ee-df3e-0410-84de-fb01f5d6c4f7
1 parent 665d533
Tip revision: a3598a9b05befc6afc1e23463262cd9b3aa62501 authored by brianharvey on 14 September 2008, 04:56:48 UTC
Mac can't set bg color of editor (2.6 bug)
Mac can't set bg color of editor (2.6 bug)
Tip revision: a3598a9
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 ...