-class ToolWindow: public wxFrame\r
-//class ToolWindow: public wxWindow\r
-{\r
- private:\r
- protected:\r
- public:\r
- wxBitmap * bmp;\r
- wxPoint sizeStamp, sizeTPBM;\r
- int prevTool;\r
-\r
- // Constructor and destructor\r
- ToolWindow(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);\r
-// ToolFrame(wxFrame * parent, const wxString &title, const wxPoint &pos, const wxSize &size, long style);\r
-// ToolWindow(wxFrame * parent, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = 0);\r
- ~ToolWindow(void);\r
-\r
- void OnPaint(wxPaintEvent &e);\r
- void OnMouseEvent(wxMouseEvent &e);\r
-// void DrawField(wxDC *, int xc1, int yc1, int xc2, int yc2);\r
-// void Refresh(int xc1, int yc1, int xc2, int yc2);\r
-// void Uncover(int x, int y);\r
-// void UpdateFieldSize();\r
- int32 FindSelectedTool(void);\r
-\r
- DECLARE_EVENT_TABLE()\r
-};\r
-\r
-// Resource/control IDs\r
-/*\r
-#define IDI_ICON 0x01L // IDs same as in ttedit.asm\r
-#define IDM_MENU 0x02L\r
-#define IDA_ACCEL 0x03L\r
-#define IDD_ABOUT 0x04L\r
-#define IDR_TOOLBAR1 0x05L\r
-#define IDB_TOOLBAR1 0x06L\r
-#define IDB_TOOLPAL1 0x07L\r
-#define IDC_CURSOR1 0x08L\r
-#define IDC_CURSOR2 0x09L\r
-#define IDC_CURSOR3 0x0AL\r
-#define IDC_CURSOR4 0x0BL\r
-#define IDC_CURSOR5 0x0CL\r
-#define IDC_CURSOR6 0x0DL\r
-#define IDC_CURSOR7 0x0EL\r
-#define IDC_CURSOR8 0x0FL\r
-\r
-#define IDS_SYSMENU 0x010L\r
-#define IDM_FILEMENU 0x011L\r
-#define IDM_HELPMENU 0x012L\r
-\r
-#define IDM_NEW 0x020L\r
-#define IDM_OPEN 0x021L\r
-#define IDM_SAVE 0x022L\r
-#define IDM_SAVEAS 0x023L\r
-#define IDM_EXIT 0x024L\r
-#define IDM_HELPTOPICS 0x025L\r
-#define IDM_ABOUT 0x026L\r
-\r
-#define ID_TBLEFT 0x030L\r
-#define ID_TBRIGHT 0x031L\r
-#define ID_TBCHARWIN 0x032L */\r
-\r