if ( !wxIDirectFB::Get() )
return false;
- #warning "FIXME: theme override is temporary"
- wxTheme::Set(wxTheme::Create(_T("gtk")));
-
return true;
}
{
wxVideoMode m;
- wxIDirectFBSurfacePtr surface(wxDfbGetPrimarySurface());
+ wxIDirectFBSurfacePtr surface(wxIDirectFB::Get()->GetPrimarySurface());
if ( !surface )
return m; // invalid
surface->GetSize(&m.w, &m.h);
- m.bpp = wxDfbGetSurfaceDepth(surface);
+ m.bpp = surface->GetDepth();
return m;
}