|
From: Emilien K. <cur...@us...> - 2005-09-14 15:36:39
|
Update of /cvsroot/wxdevcenter/StdPlugin/include/wxDevCenter/StdPlugin/Text In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17156/include/wxDevCenter/StdPlugin/Text Modified Files: SimpleTextDocView.h Log Message: Add Command support (menu/toolbar unification). Add begining of layout support. Index: SimpleTextDocView.h =================================================================== RCS file: /cvsroot/wxdevcenter/StdPlugin/include/wxDevCenter/StdPlugin/Text/SimpleTextDocView.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SimpleTextDocView.h 25 Aug 2005 20:36:08 -0000 1.1 --- SimpleTextDocView.h 14 Sep 2005 15:36:25 -0000 1.2 *************** *** 36,39 **** --- 36,40 ---- #include <wxDevCenter/DocView.h> + #include <wxDevCenter/Command.h> class wxStyledTextCtrl; *************** *** 217,220 **** --- 218,225 ---- protected: + static wxDevCenter::CommandGroup* s_pEditCommandGroup; + static wxDevCenter::CommandGroup* s_pViewCommandGroup; + static wxDevCenter::CommandGroup* s_pLangCommandGroup; + /** Contrôle Scintilla. Zone de texte stylée proprement dite.*/ wxStyledTextCtrl *m_pText; *************** *** 255,258 **** --- 260,266 ---- wxFindReplaceData m_FindReplaceData; + /** Create command groups if any.*/ + static void CreateCommandGroups(); + bool OnCreate(); void OnInitialUpdate(); |