1//--------------------------------------------------------------------------- 2// This file is generated by wxPython's SIP generator. Do not edit by hand. 3// 4// Copyright: (c) 2018 by Total Control Software 5// License: wxWindows License 6// 7// This file will be included by _core.sip 8// 9//--------------------------------------------------------------------------- 10 11%ModuleHeaderCode 12#include <wx/unichar.h> 13%End 14 15 16//--------------------------------------------------------------------------- 17 18class wxUniChar 19{ 20 %Docstring 21 UniChar(c) 22 UniChar(c) 23 24 This class represents a single Unicode character. 25 %End 26 %TypeHeaderCode 27 #include <wx/unichar.h> 28 %End 29 30public: 31 wxUniChar( 32 long c 33 ); 34 35 wxUniChar( 36 unsigned long c 37 ); 38 39 typedef wxUint32 value_type; 40 41 value_type GetValue() const; 42 %Docstring 43 GetValue() -> value_type 44 45 Returns Unicode code point value of the character. 46 %End 47 48 bool IsAscii() const; 49 %Docstring 50 IsAscii() -> bool 51 52 Returns true if the character is an ASCII character (i.e. if its value 53 is less than 128). 54 %End 55 56 bool GetAsChar( 57 char * c 58 ) const; 59 %Docstring 60 GetAsChar(c) -> bool 61 62 Returns true if the character is representable as a single byte in the 63 current locale encoding. 64 %End 65 66 public: 67 68 69 %Property(name=Value, get=GetValue) 70}; // end of class wxUniChar 71 72 73 74//--------------------------------------------------------------------------- 75 76