Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Change some _T occurances to wxT or _ for Sun Studio compatibility, p…
Browse files Browse the repository at this point in the history
…er Zdenek.

git-svn-id: svn://svn.pgadmin.org/branches/REL-1_10_0_PATCHES@8100 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information
dpage committed Dec 2, 2009
1 parent 0ec02f8 commit d289d0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pgadmin/debugger/ctlMessageWindow.cpp
Expand Up @@ -26,7 +26,7 @@ IMPLEMENT_CLASS( ctlMessageWindow, wxTextCtrl )
//

ctlMessageWindow::ctlMessageWindow( wxWindow * parent, wxWindowID id )
: wxTextCtrl( parent, wxID_ANY, _T(""), wxPoint(0, 0), wxSize(0, 0),
: wxTextCtrl( parent, wxID_ANY, wxT(""), wxPoint(0, 0), wxSize(0, 0),
wxTE_MULTILINE | wxTE_READONLY)
{
SetFont(settings->GetSQLFont());
Expand Down
2 changes: 1 addition & 1 deletion pgadmin/debugger/dlgDirectDbg.cpp
Expand Up @@ -291,7 +291,7 @@ void dlgDirectDbg::populateParamGrid( )
grdParams->SetReadOnly( i, COL_TYPE, true );
grdParams->SetReadOnly( i, COL_VALUE, true );

grdParams->SetCellValue( 0, COL_NAME, _T( "No arguments required" ));
grdParams->SetCellValue( 0, COL_NAME, _( "No arguments required" ));
wxFont font = grdParams->GetCellFont( 0, COL_NAME );
font.SetStyle( wxFONTSTYLE_ITALIC );
grdParams->SetCellFont( 0, COL_NAME, font );
Expand Down
4 changes: 2 additions & 2 deletions pgadmin/frm/frmEditGrid.cpp
Expand Up @@ -1726,11 +1726,11 @@ void sqlGridNumericEditor::SetParameters(const wxString& params)
else
{
long tmp;
if ( params.BeforeFirst(_T(',')).ToLong(&tmp) )
if ( params.BeforeFirst(wxT(',')).ToLong(&tmp) )
{
numlen = (int)tmp;

if ( params.AfterFirst(_T(',')).ToLong(&tmp) )
if ( params.AfterFirst(wxT(',')).ToLong(&tmp) )
{
numprec = (int)tmp;

Expand Down

0 comments on commit d289d0a

Please sign in to comment.