// activate
SetSizer(sizer3);
-#if defined(__POCKETPC__) || defined(__SMARTPHONE__)
- Layout();
-#else
+#if !defined(__POCKETPC__) && !defined(__SMARTPHONE__)
sizer3->SetSizeHints(this);
sizer3->Fit(this);
Centre(wxBOTH | wxCENTRE_ON_SCREEN);
sizer->Add( new wxStaticLine(this, wxID_ANY), 0, wxGROW | wxLEFT | wxRIGHT, 5 );
#endif // wxUSE_STATLINE
-#ifndef __WXWINCE__
+#if ! (defined(__SMARTPHONE__) || defined(__POCKETPC__))
sizer->Add( CreateButtonSizer(wxOK), 0, wxCENTRE | wxALL, 10 );
#endif
// activate
SetSizer(sizer);
-#ifdef __WXWINCE__
- Layout();
-#else
+#if ! (defined(__SMARTPHONE__) || defined(__POCKETPC__))
sizer->SetSizeHints(this);
sizer->Fit(this);
Centre(wxBOTH | wxCENTRE_ON_SCREEN);