Remove unimplemented functions and code from STC example
This commit is contained in:
@@ -24,11 +24,6 @@
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#define DEFAULT_LANGUAGE "<default>"
|
#define DEFAULT_LANGUAGE "<default>"
|
||||||
|
|
||||||
#define PAGE_COMMON _("Common")
|
|
||||||
#define PAGE_LANGUAGES _("Languages")
|
|
||||||
#define PAGE_STYLE_TYPES _("Style types")
|
|
||||||
|
|
||||||
#define STYLE_TYPES_COUNT 32
|
#define STYLE_TYPES_COUNT 32
|
||||||
|
|
||||||
|
|
||||||
@@ -47,7 +42,6 @@ enum {
|
|||||||
myID_REPLACENEXT,
|
myID_REPLACENEXT,
|
||||||
myID_BRACEMATCH,
|
myID_BRACEMATCH,
|
||||||
myID_GOTO,
|
myID_GOTO,
|
||||||
myID_PAGEACTIVE,
|
|
||||||
myID_DISPLAYEOL,
|
myID_DISPLAYEOL,
|
||||||
myID_INDENTGUIDE,
|
myID_INDENTGUIDE,
|
||||||
myID_LINENUMBER,
|
myID_LINENUMBER,
|
||||||
@@ -80,25 +74,12 @@ enum {
|
|||||||
myID_USECHARSET,
|
myID_USECHARSET,
|
||||||
myID_CHARSETANSI,
|
myID_CHARSETANSI,
|
||||||
myID_CHARSETMAC,
|
myID_CHARSETMAC,
|
||||||
myID_PAGEPREV,
|
|
||||||
myID_PAGENEXT,
|
|
||||||
myID_SELECTLINE,
|
myID_SELECTLINE,
|
||||||
myID_EDIT_LAST = myID_SELECTLINE,
|
myID_EDIT_LAST = myID_SELECTLINE,
|
||||||
myID_WINDOW_MINIMAL,
|
myID_WINDOW_MINIMAL,
|
||||||
|
|
||||||
// other IDs
|
// other IDs
|
||||||
myID_STATUSBAR,
|
|
||||||
myID_TITLEBAR,
|
|
||||||
myID_ABOUTTIMER,
|
myID_ABOUTTIMER,
|
||||||
myID_UPDATETIMER,
|
|
||||||
|
|
||||||
// dialog find IDs
|
|
||||||
myID_DLG_FIND_TEXT,
|
|
||||||
|
|
||||||
// preferences IDs
|
|
||||||
myID_PREFS_LANGUAGE,
|
|
||||||
myID_PREFS_STYLETYPE,
|
|
||||||
myID_PREFS_KEYWORDS,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -115,7 +115,6 @@ public:
|
|||||||
//! language/lexer
|
//! language/lexer
|
||||||
wxString DeterminePrefs (const wxString &filename);
|
wxString DeterminePrefs (const wxString &filename);
|
||||||
bool InitializePrefs (const wxString &filename);
|
bool InitializePrefs (const wxString &filename);
|
||||||
bool UserSettings (const wxString &filename);
|
|
||||||
LanguageInfo const* GetLanguageInfo () {return m_language;}
|
LanguageInfo const* GetLanguageInfo () {return m_language;}
|
||||||
|
|
||||||
//! load/save file
|
//! load/save file
|
||||||
|
@@ -63,12 +63,6 @@
|
|||||||
#define APP_LICENCE "wxWidgets"
|
#define APP_LICENCE "wxWidgets"
|
||||||
|
|
||||||
#define APP_VERSION "0.1.alpha"
|
#define APP_VERSION "0.1.alpha"
|
||||||
#define APP_BUILD __DATE__
|
|
||||||
|
|
||||||
#define APP_WEBSITE "http://www.wxWidgets.org"
|
|
||||||
#define APP_MAIL "mailto://???"
|
|
||||||
|
|
||||||
#define NONAME _("<untitled>")
|
|
||||||
|
|
||||||
class AppBook;
|
class AppBook;
|
||||||
|
|
||||||
@@ -132,12 +126,8 @@ public:
|
|||||||
void OnClose (wxCloseEvent &event);
|
void OnClose (wxCloseEvent &event);
|
||||||
void OnAbout (wxCommandEvent &event);
|
void OnAbout (wxCommandEvent &event);
|
||||||
void OnExit (wxCommandEvent &event);
|
void OnExit (wxCommandEvent &event);
|
||||||
void OnTimerEvent (wxTimerEvent &event);
|
|
||||||
//! file
|
//! file
|
||||||
void OnFileNew (wxCommandEvent &event);
|
|
||||||
void OnFileNewFrame (wxCommandEvent &event);
|
|
||||||
void OnFileOpen (wxCommandEvent &event);
|
void OnFileOpen (wxCommandEvent &event);
|
||||||
void OnFileOpenFrame (wxCommandEvent &event);
|
|
||||||
void OnFileSave (wxCommandEvent &event);
|
void OnFileSave (wxCommandEvent &event);
|
||||||
void OnFileSaveAs (wxCommandEvent &event);
|
void OnFileSaveAs (wxCommandEvent &event);
|
||||||
void OnFileClose (wxCommandEvent &event);
|
void OnFileClose (wxCommandEvent &event);
|
||||||
@@ -586,8 +576,6 @@ void AppFrame::CreateMenu ()
|
|||||||
|
|
||||||
// Window menu
|
// Window menu
|
||||||
wxMenu *menuWindow = new wxMenu;
|
wxMenu *menuWindow = new wxMenu;
|
||||||
menuWindow->Append (myID_PAGEPREV, _("&Previous\tCtrl+Shift+Tab"));
|
|
||||||
menuWindow->Append (myID_PAGENEXT, _("&Next\tCtrl+Tab"));
|
|
||||||
menuWindow->Append(myID_WINDOW_MINIMAL, _("&Minimal editor"));
|
menuWindow->Append(myID_WINDOW_MINIMAL, _("&Minimal editor"));
|
||||||
|
|
||||||
// Help menu
|
// Help menu
|
||||||
|
Reference in New Issue
Block a user