'''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);