oops, forgot the static inline
This commit is contained in:
parent
69fd16ed26
commit
760c92e5ee
|
@ -18,9 +18,8 @@
|
||||||
* Function GetChars
|
* Function GetChars
|
||||||
* returns a pointer to the actual character data, either 8 or
|
* returns a pointer to the actual character data, either 8 or
|
||||||
* 16 bits wide, depending on how the wxWidgets library was compiled.
|
* 16 bits wide, depending on how the wxWidgets library was compiled.
|
||||||
* Pointer
|
|
||||||
*/
|
*/
|
||||||
const wxChar* GetChars( wxString s )
|
static inline const wxChar* GetChars( wxString s )
|
||||||
{
|
{
|
||||||
#if wxCHECK_VERSION(2,9,0)
|
#if wxCHECK_VERSION(2,9,0)
|
||||||
return (const wxChar*) s.wx_str();
|
return (const wxChar*) s.wx_str();
|
||||||
|
|
Loading…
Reference in New Issue