Attached is a patch against the CVS tree to fix the screen size issue on
Mac.
ahp
diff -urN pgadmin3/src/utils/misc.cpp pgadmin3.new/src/utils/misc.cpp
--- pgadmin3/src/utils/misc.cpp 2003-05-20 05:53:06.000000000 -0400
+++ pgadmin3.new/src/utils/misc.cpp 2003-05-20 11:39:07.000000000 -0400
@@ -171,8 +171,9 @@
void CheckOnScreen(wxPoint &pos, wxSize &size, const int w0, const int h0)
{
- int scrW=wxSystemSettings::GetMetric(wxSYS_SCREEN_X);
- int scrH=wxSystemSettings::GetMetric(wxSYS_SCREEN_Y);
+ wxSize screenSize = wxGetDisplaySize();
+ int scrW = screenSize.x;
+ int scrH = screenSize.y;
if (pos.x < 0)
pos.x = 0;