Use the SQL Font (normally fixed width) for the messages and history panes - makes...
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Tue, 11 Sep 2007 09:49:42 +0000 (09:49 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Tue, 11 Sep 2007 09:49:42 +0000 (09:49 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@6638 a7884b65-44f6-0310-8a51-81a127f17b15

pgadmin/frm/frmQuery.cpp

index 0f1285365892964af95a25558ae95dced99a0c56..3b1e57e3e4af632f52121b12053df13c09061479 100644 (file)
@@ -312,7 +312,9 @@ frmQuery::frmQuery(frmMain *form, const wxString& _title, pgConn *_conn, const w
     sqlResult = new ctlSQLResult(outputPane, conn, CTL_SQLRESULT, wxDefaultPosition, wxDefaultSize);
     explainCanvas = new ExplainCanvas(outputPane);
     msgResult = new wxTextCtrl(outputPane, CTL_MSGRESULT, wxT(""), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxTE_DONTWRAP);
+    msgResult->SetFont(settings->GetSQLFont());
     msgHistory = new wxTextCtrl(outputPane, CTL_MSGHISTORY, wxT(""), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxTE_DONTWRAP);
+    msgHistory->SetFont(settings->GetSQLFont());
     outputPane->AddPage(sqlResult, _("Data Output"));
     outputPane->AddPage(explainCanvas, _("Explain"));
     outputPane->AddPage(msgResult, _("Messages"));