-#define POEM_NEXT 100
-#define POEM_PREVIOUS 101
-#define POEM_COPY 102
-#define POEM_SEARCH 103
-#define POEM_NEXT_MATCH 104
-#define POEM_ABOUT 105
-#define POEM_EXIT 106
-#define POEM_COMPILE 107
-#define POEM_HELP_CONTENTS 108
-#define POEM_BIGGER_TEXT 109
-#define POEM_SMALLER_TEXT 110
-#define POEM_MINIMIZE 111
-
+enum
+{
+ POEM_ABOUT = wxID_ABOUT,
+ POEM_EXIT = wxID_EXIT,
+ POEM_PREVIOUS = wxID_BACKWARD,
+ POEM_COPY = wxID_COPY,
+ POEM_NEXT = wxID_FORWARD,
+ POEM_NEXT_MATCH = wxID_MORE,
+ POEM_BIGGER_TEXT = wxID_ZOOM_IN,
+ POEM_SMALLER_TEXT = wxID_ZOOM_OUT,
+ POEM_SEARCH = wxID_FIND,
+ POEM_MINIMIZE = wxID_ICONIZE_FRAME
+};