X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e9bafca0f56de34638d4c3fef8cf74fe9351193..b910a8add446261996bc8d22e6545e6bdb373b8b:/src/stc/gen_iface.py diff --git a/src/stc/gen_iface.py b/src/stc/gen_iface.py index 62d7a45518..5c268849a3 100644 --- a/src/stc/gen_iface.py +++ b/src/stc/gen_iface.py @@ -531,7 +531,7 @@ methodOverrideMap = { 'wxString %s(const wxString& key);', '''wxString %s(const wxString& key) { - int len = SendMsg(SCI_GETPROPERTY, (long)(const char*)wx2stc(key), NULL); + int len = SendMsg(SCI_GETPROPERTY, (long)(const char*)wx2stc(key), (long)NULL); if (!len) return wxEmptyString; wxMemoryBuffer mbuf(len+1); @@ -547,7 +547,7 @@ methodOverrideMap = { 'wxString %s(const wxString& key);', '''wxString %s(const wxString& key) { - int len = SendMsg(SCI_GETPROPERTYEXPANDED, (long)(const char*)wx2stc(key), NULL); + int len = SendMsg(SCI_GETPROPERTYEXPANDED, (long)(const char*)wx2stc(key), (long)NULL); if (!len) return wxEmptyString; wxMemoryBuffer mbuf(len+1);