Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
11334a9e5a
commit
e9409ae3e0
@ -254,7 +254,7 @@ methodOverrideMap = {
|
||||
TextToFind ft;
|
||||
ft.chrg.cpMin = minPos;
|
||||
ft.chrg.cpMax = maxPos;
|
||||
wxWX2MBbuf buf = wx2stc(text);
|
||||
wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(text);
|
||||
ft.lpstrText = (char*)(const char*)buf;
|
||||
|
||||
return SendMsg(%s, flags, (long)&ft);''',
|
||||
|
@ -951,7 +951,7 @@ int wxStyledTextCtrl::FindText(int minPos, int maxPos,
|
||||
TextToFind ft;
|
||||
ft.chrg.cpMin = minPos;
|
||||
ft.chrg.cpMax = maxPos;
|
||||
wxWX2MBbuf buf = wx2stc(text);
|
||||
wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(text);
|
||||
ft.lpstrText = (char*)(const char*)buf;
|
||||
|
||||
return SendMsg(2150, flags, (long)&ft);
|
||||
|
@ -254,7 +254,7 @@ methodOverrideMap = {
|
||||
TextToFind ft;
|
||||
ft.chrg.cpMin = minPos;
|
||||
ft.chrg.cpMax = maxPos;
|
||||
wxWX2MBbuf buf = wx2stc(text);
|
||||
wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(text);
|
||||
ft.lpstrText = (char*)(const char*)buf;
|
||||
|
||||
return SendMsg(%s, flags, (long)&ft);''',
|
||||
|
@ -951,7 +951,7 @@ int wxStyledTextCtrl::FindText(int minPos, int maxPos,
|
||||
TextToFind ft;
|
||||
ft.chrg.cpMin = minPos;
|
||||
ft.chrg.cpMax = maxPos;
|
||||
wxWX2MBbuf buf = wx2stc(text);
|
||||
wxWX2MBbuf buf = (wxWX2MBbuf)wx2stc(text);
|
||||
ft.lpstrText = (char*)(const char*)buf;
|
||||
|
||||
return SendMsg(2150, flags, (long)&ft);
|
||||
|
Loading…
Reference in New Issue
Block a user