Different default buttons for native menubars on Smartphones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-06-21 08:31:04 +00:00
parent eaee975aca
commit ef6d716b00
3 changed files with 43 additions and 13 deletions

View File

@@ -190,11 +190,15 @@ bool wxFrame::Create(wxWindow *parent,
const wxString& name)
{
if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) )
return FALSE;
return false;
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE));
return TRUE;
#ifdef __SMARTPHONE__
SetLeftMenu(wxID_EXIT, _("Done"));
#endif
return true;
}
wxFrame::~wxFrame()