oops, forgot the static inline

This commit is contained in:
dickelbeck 2009-04-17 06:46:01 +00:00
parent 69fd16ed26
commit 760c92e5ee
1 changed files with 1 additions and 2 deletions

View File

@ -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();