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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user