Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,7 +28,7 @@ class WXDLLEXPORT wxMenu;
|
||||
class WXDLLEXPORT wxCommand : public wxObject
|
||||
{
|
||||
public:
|
||||
wxCommand(bool canUndoIt = FALSE, const wxString& name = wxT(""));
|
||||
wxCommand(bool canUndoIt = FALSE, const wxString& name = wxEmptyString);
|
||||
~wxCommand();
|
||||
|
||||
// Override this to perform a command
|
||||
|
@@ -53,7 +53,7 @@ public:
|
||||
bool Close();
|
||||
|
||||
// assign an existing file descriptor and get it back from wxFFile object
|
||||
void Attach(FILE *fp, const wxString& name = wxT(""))
|
||||
void Attach(FILE *fp, const wxString& name = wxEmptyString)
|
||||
{ Close(); m_fp = fp; m_name = name; }
|
||||
void Detach() { m_fp = NULL; }
|
||||
FILE *fp() const { return m_fp; }
|
||||
|
@@ -116,10 +116,10 @@ public:
|
||||
// ctor & dtor
|
||||
// New constructor: one size fits all. Specify wxCONFIG_USE_LOCAL_FILE or
|
||||
// wxCONFIG_USE_GLOBAL_FILE to say which files should be used.
|
||||
wxFileConfig(const wxString& appName = wxT(""),
|
||||
const wxString& vendorName = wxT(""),
|
||||
const wxString& localFilename = wxT(""),
|
||||
const wxString& globalFilename = wxT(""),
|
||||
wxFileConfig(const wxString& appName = wxEmptyString,
|
||||
const wxString& vendorName = wxEmptyString,
|
||||
const wxString& localFilename = wxEmptyString,
|
||||
const wxString& globalFilename = wxEmptyString,
|
||||
long style = wxCONFIG_USE_LOCAL_FILE,
|
||||
wxMBConv& conv = wxConvUTF8);
|
||||
|
||||
|
@@ -150,7 +150,7 @@ public:
|
||||
wxPathFormat format = wxPATH_NATIVE)
|
||||
{
|
||||
// empty volume
|
||||
Assign(_T(""), path, name, ext, format);
|
||||
Assign(wxEmptyString, path, name, ext, format);
|
||||
}
|
||||
|
||||
void AssignDir(const wxString& dir, wxPathFormat format = wxPATH_NATIVE);
|
||||
@@ -270,7 +270,7 @@ public:
|
||||
// returns TRUE if the file name was modified, FALSE if we failed to do
|
||||
// anything with it (happens when the file is on a different volume,
|
||||
// for example)
|
||||
bool MakeRelativeTo(const wxString& pathBase = _T(""),
|
||||
bool MakeRelativeTo(const wxString& pathBase = wxEmptyString,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
|
||||
// make the path absolute
|
||||
|
@@ -43,7 +43,7 @@ public:
|
||||
// enumerate the different encodings either for given font facename or for
|
||||
// all facenames - will result in OnFontEncoding() being called for each
|
||||
// available (facename, encoding) couple
|
||||
virtual bool EnumerateEncodings(const wxString& facename = wxT(""));
|
||||
virtual bool EnumerateEncodings(const wxString& facename = wxEmptyString);
|
||||
|
||||
// callbacks which are called after one of EnumerateXXX() functions from
|
||||
// above is invoked - all of them may return FALSE to stop enumeration or
|
||||
|
@@ -45,7 +45,7 @@ public:
|
||||
virtual void SetViewer(const wxString& WXUNUSED(viewer), long WXUNUSED(flags) = 0) {}
|
||||
|
||||
// If file is "", reloads file given in Initialize
|
||||
virtual bool LoadFile(const wxString& file = wxT("")) = 0;
|
||||
virtual bool LoadFile(const wxString& file = wxEmptyString) = 0;
|
||||
|
||||
// Displays the contents
|
||||
virtual bool DisplayContents(void) = 0;
|
||||
|
@@ -51,7 +51,7 @@ class WXDLLEXPORT wxImageHandler: public wxObject
|
||||
{
|
||||
public:
|
||||
wxImageHandler()
|
||||
: m_name(wxT("")), m_extension(wxT("")), m_mime(), m_type(0)
|
||||
: m_name(wxEmptyString), m_extension(wxEmptyString), m_mime(), m_type(0)
|
||||
{ }
|
||||
|
||||
#if wxUSE_STREAMS
|
||||
|
@@ -448,7 +448,7 @@ public:
|
||||
#define wxSysErrorMsg( X ) (const wxChar*)NULL
|
||||
|
||||
// Fake symbolic trace masks... for those that are used frequently
|
||||
#define wxTRACE_OleCalls wxT("") // OLE interface calls
|
||||
#define wxTRACE_OleCalls wxEmptyString // OLE interface calls
|
||||
|
||||
#endif // wxUSE_LOG/!wxUSE_LOG
|
||||
|
||||
|
@@ -178,7 +178,7 @@ public:
|
||||
// ctors
|
||||
MessageParameters() { }
|
||||
MessageParameters(const wxString& filename,
|
||||
const wxString& mimetype = _T(""))
|
||||
const wxString& mimetype = wxEmptyString)
|
||||
: m_filename(filename), m_mimetype(mimetype) { }
|
||||
|
||||
// accessors (called by GetOpenCommand)
|
||||
|
@@ -30,10 +30,10 @@ class WXDLLIMPEXP_BASE wxRegConfig : public wxConfigBase
|
||||
public:
|
||||
// ctor & dtor
|
||||
// will store data in HKLM\appName and HKCU\appName
|
||||
wxRegConfig(const wxString& appName = _T(""),
|
||||
const wxString& vendorName = _T(""),
|
||||
const wxString& localFilename = _T(""),
|
||||
const wxString& globalFilename = _T(""),
|
||||
wxRegConfig(const wxString& appName = wxEmptyString,
|
||||
const wxString& vendorName = wxEmptyString,
|
||||
const wxString& localFilename = wxEmptyString,
|
||||
const wxString& globalFilename = wxEmptyString,
|
||||
long style = 0);
|
||||
|
||||
// dtor will save unsaved data
|
||||
|
Reference in New Issue
Block a user