-#endif // USE_TABBED_DIALOG
-
-// File ids
-#define TEST_ABOUT 2
-
-// Tab ids
-#define TEST_TAB_DOG 1
-#define TEST_TAB_CAT 2
-#define TEST_TAB_GOAT 3
-#define TEST_TAB_GUINEAPIG 4
-#define TEST_TAB_ANTEATER 5
-#define TEST_TAB_HUMMINGBIRD 6
-#define TEST_TAB_SHEEP 7
-#define TEST_TAB_COW 8
-#define TEST_TAB_HORSE 9
-#define TEST_TAB_PIG 10
-#define TEST_TAB_OSTRICH 11
-#define TEST_TAB_AARDVARK 12
-
-#define ID_NOTEBOOK 1000
-#define ID_ADD_PAGE 1200
-#define ID_DELETE_PAGE 1201
-#define ID_NEXT_PAGE 1202
-#define ID_INSERT_PAGE 1203
+enum ID_COMMANDS
+{
+ // these should be in the same order as Type_XXX elements above
+ ID_BOOK_NOTEBOOK = wxID_HIGHEST,
+ ID_BOOK_LISTBOOK,
+ ID_BOOK_CHOICEBOOK,
+ ID_BOOK_TREEBOOK,
+ ID_BOOK_TOOLBOOK,
+ ID_BOOK_MAX,
+
+ ID_ORIENT_DEFAULT,
+ ID_ORIENT_TOP,
+ ID_ORIENT_BOTTOM,
+ ID_ORIENT_LEFT,
+ ID_ORIENT_RIGHT,
+ ID_ORIENT_MAX,
+ ID_SHOW_IMAGES,
+ ID_MULTI,
+ ID_ADD_PAGE,
+ ID_ADD_PAGE_NO_SELECT,
+ ID_INSERT_PAGE,
+ ID_DELETE_CUR_PAGE,
+ ID_DELETE_LAST_PAGE,
+ ID_NEXT_PAGE,
+ ID_ADD_PAGE_BEFORE,
+ ID_ADD_SUB_PAGE,
+ ID_CHANGE_SELECTION,
+ ID_SET_SELECTION,
+
+#if wxUSE_HELP
+ ID_CONTEXT_HELP,
+#endif // wxUSE_HELP
+ ID_HITTEST
+};
+
+
+/*
+ Name of each notebook page.
+ Used as a label for a page, and used when cloning the notebook
+ to decide what type of page it is.
+*/
+
+#define I_WAS_INSERTED_PAGE_NAME wxT("Inserted")
+#define RADIOBUTTONS_PAGE_NAME wxT("Radiobuttons")
+#define VETO_PAGE_NAME wxT("Veto")
+#define MAXIMIZED_BUTTON_PAGE_NAME wxT("Maximized button")
+
+// Pages that can be added by the user
+#define INSERTED_PAGE_NAME wxT("Inserted ")
+#define ADDED_PAGE_NAME wxT("Added ")
+#define ADDED_PAGE_NAME_BEFORE wxT(" Inserted before ")
+#define ADDED_SUB_PAGE_NAME wxT(" Inserted sub-page ")
+