hello again.
method dlgDefaultSecurityProperty::OnChangeSize
contains the repeated
expressions with l_size.GetWidth() in the
conditional operator. I guess the second
expression must by l_size.GetHeight()> 25.
I have attached the file with the correction.
could you review it?
thank you.
--
Dmitriy Olshevskiy
>From 0a5beb03d4794bd92923dccf84541a52a678aa72 Mon Sep 17 00:00:00 2001
From: olshevskiy87 <[email protected]>
Date: Sat, 4 Jul 2015 14:18:50 +0400
Subject: [PATCH] t.33
---
pgadmin/dlg/dlgProperty.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pgadmin/dlg/dlgProperty.cpp b/pgadmin/dlg/dlgProperty.cpp
index 1f4d6a6..e869dbf 100644
--- a/pgadmin/dlg/dlgProperty.cpp
+++ b/pgadmin/dlg/dlgProperty.cpp
@@ -2000,7 +2000,7 @@ void dlgDefaultSecurityProperty::AddUsers(ctlComboBox *combobox)
void dlgDefaultSecurityProperty::OnChangeSize(wxSizeEvent &ev)
{
wxSize l_size = ev.GetSize();
- if (defaultSecurityPage && l_size.GetWidth() > 10 && l_size.GetWidth() > 25)
+ if (defaultSecurityPage && l_size.GetWidth() > 10 && l_size.GetHeight() > 25)
defaultSecurityPage->SetSize(l_size.GetWidth() - 10, l_size.GetHeight() - 25);
dlgSecurityProperty::OnChangeSize(ev);
}
--
1.9.5.msysgit.1
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers