- bottom->Add( m_checkbox, 0, wxCENTER );
- bottom->Add( 10,10,1 );
- bottom->Add( btnNext, 0, wxCENTER | wxLEFT, 10 );
- bottom->Add( btnClose, 0, wxCENTER | wxLEFT, 10 );
- topsizer->Add( bottom, 0, wxEXPAND | wxALL, 10 );
+ if (isPda)
+ topsizer->Add( m_checkbox, 0, wxCENTER|wxTOP );
+ else
+ bottom->Add( m_checkbox, 0, wxCENTER );
+
+ // smart phones does not support or do not waste space for wxButtons
+#ifdef __SMARTPHONE__
+ SetRightMenu(wxID_NEXT_TIP, _("Next"));
+ SetLeftMenu(wxID_CLOSE);
+#else
+ if (!isPda)
+ bottom->Add( 10,10,1 );
+ bottom->Add( btnNext, 0, wxCENTER | wxLEFT, wxLARGESMALL(10,0) );
+ bottom->Add( btnClose, 0, wxCENTER | wxLEFT, wxLARGESMALL(10,0) );
+#endif
+
+ if (isPda)
+ topsizer->Add( bottom, 0, wxCENTER | wxALL, 5 );
+ else
+ topsizer->Add( bottom, 0, wxEXPAND | wxALL, wxLARGESMALL(10,0) );