+#if defined(__SMARTPHONE__)
+ // TODO: if flags turns more buttons then make right menu from ID
+ // to real menu with all the other IDs available. Perhaps that could be
+ // embedded in CreateButtonSizer() directly.
+ SetRightMenu(wxID_CANCEL);
+ SetLeftMenu(wxID_OK);
+#elif !defined(__WXWINCE__)