X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a834585d7492ae8388ea109bf38d55c4a502753a..205b0c9c6aa69c02a7774846e677910bf1609a53:/src/stc/stc.h.in diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 157a7bfc23..0a3360359e 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -24,6 +24,12 @@ #include #include +#ifdef STCISDLL +#define STCDLLEXPORT WXDLLEXPORT +#else +#define STCDLLEXPORT +#endif + //---------------------------------------------------------------------- // Should a wxPopupWindow be used for the call tips and autocomplete windows? @@ -38,6 +44,12 @@ %(VALUES)s + +//----------------------------------------- +// Commands that can be bound to keystrokes +%(CMDS)s + + // END of generated section //---------------------------------------------------------------------- @@ -45,8 +57,11 @@ class ScintillaWX; // forward declare class WordList; struct SCNotification; - -extern const wxChar* wxSTCNameStr; +#ifndef SWIG +extern STCDLLEXPORT const wxChar* wxSTCNameStr; +class STCDLLEXPORT wxStyledTextCtrl; +class STCDLLEXPORT wxStyledTextEvent; +#endif //---------------------------------------------------------------------- @@ -175,6 +190,7 @@ private: void OnMouseMove(wxMouseEvent& evt); void OnMouseLeftUp(wxMouseEvent& evt); void OnMouseRightUp(wxMouseEvent& evt); + void OnMouseMiddleUp(wxMouseEvent& evt); void OnContextMenu(wxContextMenuEvent& evt); void OnMouseWheel(wxMouseEvent& evt); void OnChar(wxKeyEvent& evt); @@ -210,7 +226,7 @@ private: //---------------------------------------------------------------------- -// SWIG can't handle "#if" type of conditionals, onlu "#ifdef" +// SWIG can't handle "#if" type of conditionals, only "#ifdef" #ifdef SWIG #define STC_USE_DND 1 #else