+ // smartphones does not support or do not waste space for wxButtons
+#if defined(__SMARTPHONE__)
+
+ wxMenu *dirMenu = new wxMenu;
+ dirMenu->Append(ID_GO_HOME, _("Home"));
+
+ if (!HasFlag(wxDD_DIR_MUST_EXIST))
+ {
+ dirMenu->Append(ID_NEW, _("New directory"));
+ }
+
+ dirMenu->AppendCheckItem(ID_SHOW_HIDDEN, _("Show hidden directories"));
+ dirMenu->AppendSeparator();
+ dirMenu->Append(wxID_CANCEL, _("Cancel"));
+
+#else
+