+ // smart phones does not support or do not waste space for wxButtons
+#if defined(__SMARTPHONE__)
+
+ wxMenu *dirMenu = new wxMenu;
+ dirMenu->Append(ID_GO_HOME, _("Home"));
+
+ if (style & wxDD_NEW_DIR_BUTTON)
+ {
+ dirMenu->Append(ID_NEW, _("New directory"));
+ }
+
+ dirMenu->AppendCheckItem(ID_SHOW_HIDDEN, _("Show hidden directories"));
+ dirMenu->AppendSeparator();
+ dirMenu->Append(wxID_CANCEL, _("Cancel"));
+
+ SetRightMenu(wxID_ANY, _("Options"), dirMenu);
+
+#else
+