// Copyright: (c) Mark Johnson, Berlin Germany
// Licence: wxWindows license
//----------------------------------------------------------------------------------------
-//-- all #ifdefs that the whole Project needs. -------------------------------------------
-//----------------------------------------------------------------------------------------
-#ifdef __GNUG__
-#pragma implementation
-#pragma interface
-#endif
-//----------------------------------------------------------------------------------------
+
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
//----------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------
static inline const wxChar *bool2String(bool b)
{
- return b ? _T("") : _T("not ");
+ return b ? wxEmptyString : _T("not ");
}
//----------------------------------------------------------------------------------------
PgmCtrl::~PgmCtrl()
{
delete p_imageListNormal;
- delete popupMenu1;
+ delete popupMenu1;
}
//----------------------------------------------------------------------------------------
}
//---------------------------------------------------------------------------------------
popupMenu1 = NULL;
- popupMenu1 = new wxMenu(_T(""));
+ popupMenu1 = new wxMenu;
popupMenu1->Append(PGMCTRL_ODBC_USER, _("Set Username and Password"));
// popupMenu1->AppendSeparator();
//---------------------------------------------------------------------------------------
if (Temp1 == _T("wxConfigBase Delete"))
{
if (p_ProgramCfg->DeleteAll()) // Default Diretory for wxFileSelector
- Temp0 = _("-I-> wxConfigBase.p_ProgramCfg->DeleteAll() was succesfull.");
+ Temp0 = _("-I-> wxConfigBase.p_ProgramCfg->DeleteAll() was successful.");
else
- Temp0 = _("-E-> wxConfigBase.p_ProgramCfg->DeleteAll() was not succesfull !");
+ Temp0 = _("-E-> wxConfigBase.p_ProgramCfg->DeleteAll() was not successful !");
wxBell(); // Ding_a_Ling
Treffer++;
}
// wxMessageBox(SaveDSN);
int i;
//--------------------------------------------
- DlgUser *p_Dlg = new DlgUser(this,pDoc,_T(""));
+ DlgUser *p_Dlg = new DlgUser(this,pDoc,wxEmptyString);
//-------------------------------------------
for (i=0;i<pDoc->i_DSN;i++)
{