// the trace mask we use with wxLogTrace() - call
// wxLog::AddTraceMask(TRACE_CLIPBOARD) to enable the trace messages from here
// (there will be a *lot* of them!)
-static const char *TRACE_CLIPBOARD = _T("clipboard");
+static const wxChar *TRACE_CLIPBOARD = _T("clipboard");
//-----------------------------------------------------------------------------
// reminder
return wxWriteResource(section, entry, buf, file);
}
-bool wxGetResource(const wxString& section, const wxString& entry, char **value, const wxString& file )
+bool wxGetResource(const wxString& section, const wxString& entry, wxChar **value, const wxString& file )
{
wxString filename( file );
if (filename.IsEmpty()) filename = wxT(".wxWindows");
{
if (!result.IsEmpty())
{
- char *s = new char[result.Len()+1];
+ wxChar *s = new wxChar[result.Len()+1];
wxStrcpy( s, result.c_str() );
*value = s;
return TRUE;
// the trace mask we use with wxLogTrace() - call
// wxLog::AddTraceMask(TRACE_CLIPBOARD) to enable the trace messages from here
// (there will be a *lot* of them!)
-static const char *TRACE_CLIPBOARD = _T("clipboard");
+static const wxChar *TRACE_CLIPBOARD = _T("clipboard");
//-----------------------------------------------------------------------------
// reminder
return wxWriteResource(section, entry, buf, file);
}
-bool wxGetResource(const wxString& section, const wxString& entry, char **value, const wxString& file )
+bool wxGetResource(const wxString& section, const wxString& entry, wxChar **value, const wxString& file )
{
wxString filename( file );
if (filename.IsEmpty()) filename = wxT(".wxWindows");
{
if (!result.IsEmpty())
{
- char *s = new char[result.Len()+1];
+ wxChar *s = new wxChar[result.Len()+1];
wxStrcpy( s, result.c_str() );
*value = s;
return TRUE;