Author: andreas
Date: 2005-10-04 18:54:25 +0100 (Tue, 04 Oct 2005)
New Revision: 4488
Modified:
trunk/pgadmin3/src/pgAdmin3.cpp
Log:
-t cmd line option to enable language debugging
Modified: trunk/pgadmin3/src/pgAdmin3.cpp
===================================================================
--- trunk/pgadmin3/src/pgAdmin3.cpp 2005-10-04 17:37:49 UTC (rev 4487)
+++ trunk/pgadmin3/src/pgAdmin3.cpp 2005-10-04 17:54:25 UTC (rev 4488)
@@ -144,6 +144,12 @@
dlgList->Append(filename.Left(filename.Length()-4));
found = dir.GetNext(&filename);
}
+ if (!dlgList->GetCount())
+ {
+ dlgList->Append(wxT("No xrc files in directory"));
+ dlgList->Append(uiPath);
+ dlgList->Disable();
+ }
}
@@ -155,6 +161,7 @@
pgDialog *dlg=new pgDialog;
dlg->wxWindowBase::SetFont(settings->GetSystemFont());
dlg->LoadResource(this, dlgName);
+ dlg->SetTitle(dlgName);
dlg->Show();
}
}