- return TRUE;
-}
-
-struct wxToolBarIdMapping
-{
- int m_wxwinId;
- int m_winceId;
-};
-
-static wxToolBarIdMapping sm_ToolBarIdMappingArray[] =
-{
- { wxID_COPY, STD_COPY },
- { wxID_CUT, STD_CUT },
- { wxID_FIND, STD_FIND },
- { wxID_PASTE, STD_PASTE },
- { wxID_NEW, STD_FILENEW },
- { wxID_OPEN, STD_FILEOPEN },
- { wxID_SAVE, STD_FILESAVE },
- { wxID_PRINT, STD_PRINT },
- { wxID_PREVIEW, STD_PRINTPRE },
- { wxID_UNDO, STD_UNDO },
- { wxID_REDO, STD_REDOW },
- { wxID_HELP, STD_HELP },
- { wxID_DELETE, STD_DELETE },
- { wxID_REPLACE, STD_REPLACE },
- { wxID_PROPERTIES, STD_PROPERTIES },
- { wxID_VIEW_DETAILS, VIEW_DETAILS },
- { wxID_VIEW_SORTDATE, VIEW_SORTDATE },
- { wxID_VIEW_LARGEICONS, VIEW_LARGEICONS },
- { wxID_VIEW_SORTNAME, VIEW_SORTNAME },
- { wxID_VIEW_LIST, VIEW_LIST },
- { wxID_VIEW_SORTSIZE, VIEW_SORTSIZE },
- { wxID_VIEW_SMALLICONS, VIEW_SMALLICONS },
- { wxID_VIEW_SORTTYPE, VIEW_SORTTYPE },
- { 0, 0},
-};
-
-static int wxFindIdForwxWinId(int id)
-{
- int i = 0;
- while (TRUE)
- {
- if (sm_ToolBarIdMappingArray[i].m_wxwinId == 0)
- return -1;
- else if (sm_ToolBarIdMappingArray[i].m_wxwinId == id)
- return sm_ToolBarIdMappingArray[i].m_winceId;
- i ++;
- }
- return -1;