- sizer3->Add( CreateTextSizer(_("Select one configuration")), 0, wxALL, 10 );
- sizer3->Add( new wxStaticLine(this, -1), 0, wxGROW | wxLEFT | wxRIGHT, 10 );
- sizer3->Add( sizer2, 1, wxGROW | wxCENTRE | wxALL, 5 );
- sizer3->Add( new wxStaticLine(this, -1), 0, wxGROW | wxLEFT | wxRIGHT, 10 );
- sizer3->Add( CreateButtonSizer(wxOK | wxCANCEL), 0, wxCENTRE | wxALL, 10 );
+ sizer3->Add( CreateTextSizer(_("Select a configuration")), 0, wxALL|wxCENTRE, isPDA ? 2 : 10 );
+#if wxUSE_STATLINE
+ if (!isPDA)
+ sizer3->Add( new wxStaticLine(this, wxID_ANY), 0, wxGROW | wxLEFT | wxRIGHT, 10 );
+#endif // wxUSE_STATLINE
+ sizer3->Add( sizer2, 1, wxGROW | wxALL, 5 );
+#if wxUSE_STATLINE
+ if (!isPDA)
+ sizer3->Add( new wxStaticLine(this, wxID_ANY), 0, wxGROW | wxLEFT | wxRIGHT, 10 );
+#endif // wxUSE_STATLINE
+
+#if defined(__SMARTPHONE__)
+ SetLeftMenu(wxID_CANCEL);
+ SetRightMenu(wxID_OK);
+#endif