Log Message:
-----------
remove maximize button on MSW
Modified Files:
--------------
pgadmin3/src/ui:
dlgProperty.cpp (r1.97 -> r1.98)
Index: dlgProperty.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/dlgProperty.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -Lsrc/ui/dlgProperty.cpp -Lsrc/ui/dlgProperty.cpp -u -w -r1.97 -r1.98
--- src/ui/dlgProperty.cpp
+++ src/ui/dlgProperty.cpp
@@ -88,8 +88,12 @@
database=0;
wxWindowBase::SetFont(settings->GetSystemFont());
LoadResource(frame, resName);
- nbNotebook = CTRL_NOTEBOOK("nbNotebook");
+#ifdef __WXMSW__
+ SetWindowStyleFlag(GetWindowStyleFlag() & ~wxMAXIMIZE_BOX);
+#endif
+
+ nbNotebook = CTRL_NOTEBOOK("nbNotebook");
if (!nbNotebook)
{
wxMessageBox(wxString::Format(_("Problem with resource %s: Notebook not
found.\nPrepare to crash!"), resName.c_str()));
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly