Unicode. You know the drill.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven 1999-04-13 11:43:03 +00:00
parent 4b21397f16
commit 2ed57eb790
3 changed files with 8 additions and 8 deletions

View File

@ -69,8 +69,8 @@ class WXDLLEXPORT wxConnectionBase: public wxObject
// Callbacks to SERVER - override at will // Callbacks to SERVER - override at will
virtual bool OnExecute( const wxString& WXUNUSED(topic), char *WXUNUSED(data), int WXUNUSED(size), virtual bool OnExecute( const wxString& WXUNUSED(topic), char *WXUNUSED(data), int WXUNUSED(size),
int WXUNUSED(format) ) { return FALSE; }; int WXUNUSED(format) ) { return FALSE; };
virtual wxChar *OnRequest( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item), virtual char *OnRequest( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item),
int *WXUNUSED(size), int WXUNUSED(format) ) { return (wxChar *) NULL; }; int *WXUNUSED(size), int WXUNUSED(format) ) { return (char *) NULL; };
virtual bool OnPoke( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item), wxChar *WXUNUSED(data), virtual bool OnPoke( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item), wxChar *WXUNUSED(data),
int WXUNUSED(size), int WXUNUSED(format) ) { return FALSE; }; int WXUNUSED(size), int WXUNUSED(format) ) { return FALSE; };
virtual bool OnStartAdvise( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item) ) virtual bool OnStartAdvise( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item) )
@ -79,7 +79,7 @@ class WXDLLEXPORT wxConnectionBase: public wxObject
{ return FALSE; }; { return FALSE; };
// Callbacks to CLIENT - override at will // Callbacks to CLIENT - override at will
virtual bool OnAdvise( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item), wxChar *WXUNUSED(data), virtual bool OnAdvise( const wxString& WXUNUSED(topic), const wxString& WXUNUSED(item), char *WXUNUSED(data),
int WXUNUSED(size), int WXUNUSED(format) ) { return FALSE; }; int WXUNUSED(size), int WXUNUSED(format) ) { return FALSE; };
// Callbacks to BOTH // Callbacks to BOTH

View File

@ -73,17 +73,17 @@ public:
virtual ~wxTCPConnection(); virtual ~wxTCPConnection();
// Calls that CLIENT can make // Calls that CLIENT can make
bool Execute(char *data, int size = -1, bool Execute(wxChar *data, int size = -1,
wxIPCFormat format = wxIPC_TEXT); wxIPCFormat format = wxIPC_TEXT);
char *Request(const wxString& item, int *size = NULL, char *Request(const wxString& item, int *size = NULL,
wxIPCFormat format = wxIPC_TEXT); wxIPCFormat format = wxIPC_TEXT);
bool Poke(const wxString& item, char *data, int size = -1, bool Poke(const wxString& item, wxChar *data, int size = -1,
wxIPCFormat format = wxIPC_TEXT); wxIPCFormat format = wxIPC_TEXT);
bool StartAdvise(const wxString& item); bool StartAdvise(const wxString& item);
bool StopAdvise(const wxString& item); bool StopAdvise(const wxString& item);
// Calls that SERVER can make // Calls that SERVER can make
bool Advise(const wxString& item, char *data, int size = -1, bool Advise(const wxString& item, wxChar *data, int size = -1,
wxIPCFormat format = wxIPC_TEXT); wxIPCFormat format = wxIPC_TEXT);
// Calls that both can make // Calls that both can make

View File

@ -84,7 +84,7 @@ public:
#endif #endif
wxVariant(char val, const wxString& name = g_szNul); wxVariant(char val, const wxString& name = g_szNul);
wxVariant(const wxString& val, const wxString& name = g_szNul); wxVariant(const wxString& val, const wxString& name = g_szNul);
wxVariant(const char* val, const wxString& name = g_szNul); // Necessary or VC++ assumes bool! wxVariant(const wxChar* val, const wxString& name = g_szNul); // Necessary or VC++ assumes bool!
wxVariant(const wxStringList& val, const wxString& name = g_szNul); wxVariant(const wxStringList& val, const wxString& name = g_szNul);
wxVariant(const wxList& val, const wxString& name = g_szNul); // List of variants wxVariant(const wxList& val, const wxString& name = g_szNul); // List of variants
#if wxUSE_TIMEDATE #if wxUSE_TIMEDATE
@ -124,7 +124,7 @@ public:
bool operator== (const wxString& value) const; bool operator== (const wxString& value) const;
bool operator!= (const wxString& value) const; bool operator!= (const wxString& value) const;
void operator= (const wxString& value) ; void operator= (const wxString& value) ;
void operator= (const char* value) ; // Necessary or VC++ assumes bool! void operator= (const wxChar* value) ; // Necessary or VC++ assumes bool!
bool operator== (const wxStringList& value) const; bool operator== (const wxStringList& value) const;
bool operator!= (const wxStringList& value) const; bool operator!= (const wxStringList& value) const;
void operator= (const wxStringList& value) ; void operator= (const wxStringList& value) ;