int screenheight = wxSystemSettings::GetMetric(wxSYS_SCREEN_Y,NULL);
int screenwidth = wxSystemSettings::GetMetric(wxSYS_SCREEN_X,NULL);
wxString s = wxString::Format(wxT("屏幕宽度:%i 屏幕高度:%d" ),screenwidth, screenheight );
wxMessageBox(s,"屏幕分辨率");