diff --git a/samples/stc/defsext.h b/samples/stc/defsext.h index f046ecdbf2..a46b24ae9a 100644 --- a/samples/stc/defsext.h +++ b/samples/stc/defsext.h @@ -24,11 +24,6 @@ //============================================================================ #define DEFAULT_LANGUAGE "" - -#define PAGE_COMMON _("Common") -#define PAGE_LANGUAGES _("Languages") -#define PAGE_STYLE_TYPES _("Style types") - #define STYLE_TYPES_COUNT 32 @@ -47,7 +42,6 @@ enum { myID_REPLACENEXT, myID_BRACEMATCH, myID_GOTO, - myID_PAGEACTIVE, myID_DISPLAYEOL, myID_INDENTGUIDE, myID_LINENUMBER, @@ -80,25 +74,12 @@ enum { myID_USECHARSET, myID_CHARSETANSI, myID_CHARSETMAC, - myID_PAGEPREV, - myID_PAGENEXT, myID_SELECTLINE, myID_EDIT_LAST = myID_SELECTLINE, myID_WINDOW_MINIMAL, // other IDs - myID_STATUSBAR, - myID_TITLEBAR, myID_ABOUTTIMER, - myID_UPDATETIMER, - - // dialog find IDs - myID_DLG_FIND_TEXT, - - // preferences IDs - myID_PREFS_LANGUAGE, - myID_PREFS_STYLETYPE, - myID_PREFS_KEYWORDS, }; // ---------------------------------------------------------------------------- diff --git a/samples/stc/edit.h b/samples/stc/edit.h index 09ca020847..23263dd7f8 100644 --- a/samples/stc/edit.h +++ b/samples/stc/edit.h @@ -115,7 +115,6 @@ public: //! language/lexer wxString DeterminePrefs (const wxString &filename); bool InitializePrefs (const wxString &filename); - bool UserSettings (const wxString &filename); LanguageInfo const* GetLanguageInfo () {return m_language;} //! load/save file diff --git a/samples/stc/stctest.cpp b/samples/stc/stctest.cpp index 9c4f95c11b..c6f9d67bd0 100644 --- a/samples/stc/stctest.cpp +++ b/samples/stc/stctest.cpp @@ -63,12 +63,6 @@ #define APP_LICENCE "wxWidgets" #define APP_VERSION "0.1.alpha" -#define APP_BUILD __DATE__ - -#define APP_WEBSITE "http://www.wxWidgets.org" -#define APP_MAIL "mailto://???" - -#define NONAME _("") class AppBook; @@ -132,12 +126,8 @@ public: void OnClose (wxCloseEvent &event); void OnAbout (wxCommandEvent &event); void OnExit (wxCommandEvent &event); - void OnTimerEvent (wxTimerEvent &event); //! file - void OnFileNew (wxCommandEvent &event); - void OnFileNewFrame (wxCommandEvent &event); void OnFileOpen (wxCommandEvent &event); - void OnFileOpenFrame (wxCommandEvent &event); void OnFileSave (wxCommandEvent &event); void OnFileSaveAs (wxCommandEvent &event); void OnFileClose (wxCommandEvent &event); @@ -586,8 +576,6 @@ void AppFrame::CreateMenu () // Window menu 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")); // Help menu