+ wxSize listSize = wxDefaultSize;
+ bool isPDA = wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA;
+
+ // Screens are generally horizontal in orientation,
+ // but PDAs are generally vertical.
+ bool screenIsHorizontal = true;
+ if (isPDA &&
+ wxSystemSettings::GetMetric(wxSYS_SCREEN_X) < wxSystemSettings::GetMetric(wxSYS_SCREEN_Y))
+ {
+ listSize = wxSize(wxDefaultCoord, 50);
+ screenIsHorizontal = false;
+ }
+