fix some compile warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -756,7 +756,7 @@ methodOverrideMap = {
|
||||
|
||||
'''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);
|
||||
@@ -774,7 +774,7 @@ methodOverrideMap = {
|
||||
|
||||
'''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);
|
||||
@@ -791,7 +791,7 @@ methodOverrideMap = {
|
||||
|
||||
'''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);
|
||||
@@ -809,7 +809,7 @@ methodOverrideMap = {
|
||||
|
||||
'''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);
|
||||
@@ -827,7 +827,7 @@ methodOverrideMap = {
|
||||
|
||||
'''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);
|
||||
@@ -846,7 +846,7 @@ methodOverrideMap = {
|
||||
|
||||
'''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);
|
||||
@@ -865,7 +865,7 @@ methodOverrideMap = {
|
||||
|
||||
'''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);
|
||||
|
||||
Reference in New Issue
Block a user