Skip to content

Commit

Permalink
[wx] Add missing stc function
Browse files Browse the repository at this point in the history
wxSTC:SetEdgeMode was missing for some reason.
  • Loading branch information
dgud committed Feb 24, 2012
1 parent e28f2b9 commit 4b10c0f
Show file tree
Hide file tree
Showing 6 changed files with 777 additions and 758 deletions.
6 changes: 3 additions & 3 deletions lib/wx/api_gen/wxapi.conf
Expand Up @@ -1602,9 +1602,9 @@
'HomeWrapExtend', 'LineEndWrap', 'LineEndWrapExtend', 'VCHomeWrap', 'VCHomeWrapExtend', 'LineCopy',
'MoveCaretInsideView', 'LineLength', 'BraceHighlight', 'BraceBadLight', 'BraceMatch', 'GetViewEOL',
'SetViewEOL', %'GetDocPointer', 'SetDocPointer', Hmm void pointers
'SetModEventMask', 'GetEdgeColumn', 'SetEdgeColumn',
'GetEdgeMode', 'GetEdgeColour', 'SetEdgeColour', 'SearchAnchor', 'SearchNext',
'SearchPrev', 'LinesOnScreen',
'SetModEventMask', 'GetEdgeColumn', 'SetEdgeColumn',
'SetEdgeMode', 'GetEdgeMode', 'GetEdgeColour', 'SetEdgeColour', 'SearchAnchor', 'SearchNext',
'SearchPrev', 'LinesOnScreen',
'UsePopUp', 'SelectionIsRectangle', 'SetZoom', 'GetZoom',
%%'CreateDocument', 'AddRefDocument', 'ReleaseDocument', Hmm void pointers
'GetModEventMask', 'SetSTCFocus', 'GetSTCFocus', 'SetStatus', 'GetStatus',
Expand Down
7 changes: 7 additions & 0 deletions lib/wx/c_src/gen/wxe_funcs.cpp
Expand Up @@ -29365,6 +29365,13 @@ case wxStyledTextCtrl_SetEdgeColumn: { // wxStyledTextCtrl::SetEdgeColumn
This->SetEdgeColumn((int) *column);
break;
}
case wxStyledTextCtrl_SetEdgeMode: { // wxStyledTextCtrl::SetEdgeMode
wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
int * mode = (int *) bp; bp += 4;
if(!This) throw wxe_badarg(0);
This->SetEdgeMode((int) *mode);
break;
}
case wxStyledTextCtrl_GetEdgeMode: { // wxStyledTextCtrl::GetEdgeMode
wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
if(!This) throw wxe_badarg(0);
Expand Down

0 comments on commit 4b10c0f

Please sign in to comment.