+ int metric = -1;
+ uint32_t attrP;
+
+ switch( index )
+ {
+ case wxSYS_SCREEN_X:
+ WinScreenGetAttribute(winScreenWidth, &attrP);
+ metric = attrP;
+ break;
+
+ case wxSYS_SCREEN_Y:
+ WinScreenGetAttribute(winScreenHeight, &attrP);
+ metric = attrP;
+ break;
+ }
+
+ return metric;