More PocketPC adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
905372991f
commit
e5c990b3a6
2 changed files with 17 additions and 8 deletions
|
|
@ -170,8 +170,7 @@ LifeAboutDialog::LifeAboutDialog(wxWindow *parent)
|
|||
wxDefaultPosition, wxDefaultSize)
|
||||
{
|
||||
// logo
|
||||
wxBitmap bmp(life_xpm);
|
||||
wxStaticBitmap *sbmp = new wxStaticBitmap(this, wxID_ANY, bmp);
|
||||
wxStaticBitmap *sbmp = new wxStaticBitmap(this, wxID_ANY, wxBitmap(life_xpm));
|
||||
|
||||
// layout components
|
||||
wxBoxSizer *sizer = new wxBoxSizer( wxVERTICAL );
|
||||
|
|
@ -188,12 +187,15 @@ XLife is (c) 1989 by Jon Bennett et al.")),
|
|||
#if wxUSE_STATLINE
|
||||
sizer->Add( new wxStaticLine(this, wxID_ANY), 0, wxGROW | wxLEFT | wxRIGHT, 5 );
|
||||
#endif // wxUSE_STATLINE
|
||||
|
||||
#ifndef __WXWINCE__
|
||||
sizer->Add( CreateButtonSizer(wxOK), 0, wxCENTRE | wxALL, 10 );
|
||||
#endif
|
||||
|
||||
// activate
|
||||
SetSizer(sizer);
|
||||
|
||||
#if defined(__POCKETPC__) || defined(__SMARTPHONE__)
|
||||
#ifdef __WXWINCE__
|
||||
Layout();
|
||||
#else
|
||||
sizer->SetSizeHints(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue