Fixes for Bug #592758
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -488,13 +488,13 @@ methodOverrideMap = {
|
|||||||
'AddRefDocument' : (0,
|
'AddRefDocument' : (0,
|
||||||
'void %s(void* docPointer);',
|
'void %s(void* docPointer);',
|
||||||
'''void %s(void* docPointer) {
|
'''void %s(void* docPointer) {
|
||||||
SendMsg(%s, (long)docPointer);''',
|
SendMsg(%s, 0, (long)docPointer);''',
|
||||||
0),
|
0),
|
||||||
|
|
||||||
'ReleaseDocument' : (0,
|
'ReleaseDocument' : (0,
|
||||||
'void %s(void* docPointer);',
|
'void %s(void* docPointer);',
|
||||||
'''void %s(void* docPointer) {
|
'''void %s(void* docPointer) {
|
||||||
SendMsg(%s, (long)docPointer);''',
|
SendMsg(%s, 0, (long)docPointer);''',
|
||||||
0),
|
0),
|
||||||
'SetCodePage' : (0,
|
'SetCodePage' : (0,
|
||||||
0,
|
0,
|
||||||
|
@@ -1565,12 +1565,12 @@ void* wxStyledTextCtrl::CreateDocument() {
|
|||||||
|
|
||||||
// Extend life of document.
|
// Extend life of document.
|
||||||
void wxStyledTextCtrl::AddRefDocument(void* docPointer) {
|
void wxStyledTextCtrl::AddRefDocument(void* docPointer) {
|
||||||
SendMsg(2376, (long)docPointer);
|
SendMsg(2376, 0, (long)docPointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Release a reference to the document, deleting document if it fades to black.
|
// Release a reference to the document, deleting document if it fades to black.
|
||||||
void wxStyledTextCtrl::ReleaseDocument(void* docPointer) {
|
void wxStyledTextCtrl::ReleaseDocument(void* docPointer) {
|
||||||
SendMsg(2377, (long)docPointer);
|
SendMsg(2377, 0, (long)docPointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get which document modification events are sent to the container.
|
// Get which document modification events are sent to the container.
|
||||||
|
@@ -488,13 +488,13 @@ methodOverrideMap = {
|
|||||||
'AddRefDocument' : (0,
|
'AddRefDocument' : (0,
|
||||||
'void %s(void* docPointer);',
|
'void %s(void* docPointer);',
|
||||||
'''void %s(void* docPointer) {
|
'''void %s(void* docPointer) {
|
||||||
SendMsg(%s, (long)docPointer);''',
|
SendMsg(%s, 0, (long)docPointer);''',
|
||||||
0),
|
0),
|
||||||
|
|
||||||
'ReleaseDocument' : (0,
|
'ReleaseDocument' : (0,
|
||||||
'void %s(void* docPointer);',
|
'void %s(void* docPointer);',
|
||||||
'''void %s(void* docPointer) {
|
'''void %s(void* docPointer) {
|
||||||
SendMsg(%s, (long)docPointer);''',
|
SendMsg(%s, 0, (long)docPointer);''',
|
||||||
0),
|
0),
|
||||||
'SetCodePage' : (0,
|
'SetCodePage' : (0,
|
||||||
0,
|
0,
|
||||||
|
@@ -1565,12 +1565,12 @@ void* wxStyledTextCtrl::CreateDocument() {
|
|||||||
|
|
||||||
// Extend life of document.
|
// Extend life of document.
|
||||||
void wxStyledTextCtrl::AddRefDocument(void* docPointer) {
|
void wxStyledTextCtrl::AddRefDocument(void* docPointer) {
|
||||||
SendMsg(2376, (long)docPointer);
|
SendMsg(2376, 0, (long)docPointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Release a reference to the document, deleting document if it fades to black.
|
// Release a reference to the document, deleting document if it fades to black.
|
||||||
void wxStyledTextCtrl::ReleaseDocument(void* docPointer) {
|
void wxStyledTextCtrl::ReleaseDocument(void* docPointer) {
|
||||||
SendMsg(2377, (long)docPointer);
|
SendMsg(2377, 0, (long)docPointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get which document modification events are sent to the container.
|
// Get which document modification events are sent to the container.
|
||||||
|
Reference in New Issue
Block a user