|
From: Emilien K. <cur...@us...> - 2005-09-14 15:36:39
|
Update of /cvsroot/wxdevcenter/StdPlugin/include/wxDevCenter/StdPlugin/Bitmap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17156/include/wxDevCenter/StdPlugin/Bitmap Modified Files: BitmapDocView.h Log Message: Add Command support (menu/toolbar unification). Add begining of layout support. Index: BitmapDocView.h =================================================================== RCS file: /cvsroot/wxdevcenter/StdPlugin/include/wxDevCenter/StdPlugin/Bitmap/BitmapDocView.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BitmapDocView.h 25 Aug 2005 20:36:07 -0000 1.1 --- BitmapDocView.h 14 Sep 2005 15:36:25 -0000 1.2 *************** *** 20,23 **** --- 20,24 ---- #include <wxDevCenter/DocView.h> #include <wxDevCenter/WorkBar.h> + #include <wxDevCenter/Command.h> #include <wxDevCenter/StdPlugin/Bitmap/BitmapCtrl.h> #include <wxDevCenter/StdPlugin/extmouse.h> *************** *** 452,455 **** --- 453,465 ---- DECLARE_EVENT_TABLE(); protected: + static wxDevCenter::CommandGroup* s_pEditCommandGroup; + static wxDevCenter::CommandGroup* s_pToolsCommandGroup; + static wxDevCenter::CommandGroup* s_pPenCommandGroup; + static wxDevCenter::CommandGroup* s_pViewCommandGroup; + + /** Create command groups if any.*/ + static void CreateCommandGroups(); + + virtual bool OnCreate(); void OnInitialUpdate(); |