Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
CVS Commit by andreas: minor cleanup

CVS Commit by andreas: minor cleanup



Log Message:
-----------
minor cleanup

Modified Files:
--------------
    pgadmin3/src/ui:
        dlgProperty.cpp (r1.84 -> r1.85)

Index: dlgProperty.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/dlgProperty.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -Lsrc/ui/dlgProperty.cpp -Lsrc/ui/dlgProperty.cpp -u -w -r1.84 -r1.85
--- src/ui/dlgProperty.cpp
+++ src/ui/dlgProperty.cpp
@@ -102,7 +102,8 @@
     cbOwner = CTRL_COMBOBOX2("cbOwner");
 
 
-#ifdef __WIN32__
+	//#ifdef  __WIN32__
+#if 1  // seems wxgtk now returns a usable page size
     wxNotebookPage *page=nbNotebook->GetPage(0);
     wxASSERT(page != NULL);
     page->GetClientSize(&width, &height);
@@ -120,7 +121,8 @@
     if (statusBarContainer)
     {
         statusBox = 0;
-        statusBar = new wxStatusBar(statusBarContainer, -1, wxST_SIZEGRIP);
+        statusBar = new wxStatusBar(this, -1, wxST_SIZEGRIP);
+        wxXmlResource::Get()->AttachUnknownControl(wxT("unkStatusBar"), statusBar);
     }
     else
     {


Home | Main Index | Thread Index

top