'''wxString %s() const {
int msg = %s;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
'''wxString %s(int tagNumber) const {
int msg = %s;
- int len = SendMsg(msg, tagNumber, NULL);
+ int len = SendMsg(msg, tagNumber, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
'''wxString %s() const {
int msg = %s;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
'''wxString %s() const {
int msg = %s;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
'''wxString %s() const {
int msg = %s;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
'''wxString %s(const wxString& name) const {
int msg = %s;
- int len = SendMsg(msg, (sptr_t)(const char*)wx2stc(name), NULL);
+ int len = SendMsg(msg, (sptr_t)(const char*)wx2stc(name), (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
'''wxString %s() const {
int msg = %s;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
// Get the set of characters making up words for when moving or selecting by word.
wxString wxStyledTextCtrl::GetWordChars() const {
int msg = 2646;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
// Retrieve the value of a tag from a regular expression search.
wxString wxStyledTextCtrl::GetTag(int tagNumber) const {
int msg = 2616;
- int len = SendMsg(msg, tagNumber, NULL);
+ int len = SendMsg(msg, tagNumber, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
// Get the set of characters making up whitespace for when moving or selecting by word.
wxString wxStyledTextCtrl::GetWhitespaceChars() const {
int msg = 2647;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
// Get the set of characters making up punctuation characters
wxString wxStyledTextCtrl::GetPunctuationChars() const {
int msg = 2649;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
// Retrieve a '\n' separated list of properties understood by the current lexer.
wxString wxStyledTextCtrl::PropertyNames() const {
int msg = 4014;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
// Describe a property.
wxString wxStyledTextCtrl::DescribeProperty(const wxString& name) const {
int msg = 4016;
- int len = SendMsg(msg, (sptr_t)(const char*)wx2stc(name), NULL);
+ int len = SendMsg(msg, (sptr_t)(const char*)wx2stc(name), (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);
// Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer.
wxString wxStyledTextCtrl::DescribeKeyWordSets() const {
int msg = 4017;
- int len = SendMsg(msg, 0, NULL);
+ int len = SendMsg(msg, 0, (sptr_t)NULL);
if (!len) return wxEmptyString;
wxMemoryBuffer mbuf(len+1);