X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c913512a4c9f36e11e07ea707002fab1608d324..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/interface/stc/stc.h diff --git a/interface/stc/stc.h b/interface/stc/stc.h index b1176688e0..53f286e8f4 100644 --- a/interface/stc/stc.h +++ b/interface/stc/stc.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: stc/stc.h -// Purpose: documentation for wxStyledTextEvent class +// Purpose: interface of wxStyledTextEvent // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -31,17 +31,17 @@ public: /** */ - wxEvent* Clone(); + wxEvent* Clone() const; /** */ - bool GetAlt(); + bool GetAlt() const; /** */ - bool GetControl(); + bool GetControl() const; /** @@ -61,92 +61,92 @@ public: /** */ - int GetFoldLevelNow(); + int GetFoldLevelNow() const; /** */ - int GetFoldLevelPrev(); + int GetFoldLevelPrev() const; /** */ - int GetKey(); + int GetKey() const; /** */ - int GetLParam(); + int GetLParam() const; /** */ - int GetLength(); + int GetLength() const; /** */ - int GetLine(); + int GetLine() const; /** */ - int GetLinesAdded(); + int GetLinesAdded() const; /** */ - int GetListType(); + int GetListType() const; /** */ - int GetMargin(); + int GetMargin() const; /** */ - int GetMessage(); + int GetMessage() const; /** */ - int GetModificationType(); + int GetModificationType() const; /** */ - int GetModifiers(); + int GetModifiers() const; /** */ - int GetPosition(); + int GetPosition() const; /** */ - bool GetShift(); + bool GetShift() const; /** */ - wxString GetText(); + wxString GetText() const; /** */ - int GetWParam(); + int GetWParam() const; /** */ -#define int GetX() /* implementation is private */ + int GetX() const; /** */ -#define int GetY() /* implementation is private */ + int GetY() const; /** @@ -241,15 +241,16 @@ public: /** */ -#define void SetX(int val) /* implementation is private */ + void SetX(int val); /** */ -#define void SetY(int val) /* implementation is private */ + void SetY(int val); }; + /** @class wxStyledTextCtrl @headerfile stc.h wx/stc/stc.h @@ -274,8 +275,7 @@ public: @library{wxbase} @category{stc} - @seealso - wxStyledTextEvent + @see wxStyledTextEvent */ class wxStyledTextCtrl : public wxControl { @@ -283,7 +283,7 @@ public: /** Ctor. */ - wxStyledTextCtrl::wxStyledTextCtrl(wxWindow * parent, + wxStyledTextCtrl::wxStyledTextCtrl(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint pos = wxDefaultPosition, const wxSize size = wxDefaultSize, @@ -692,7 +692,7 @@ public: /** Cut the selection to the clipboard. */ -#define void Cut() /* implementation is private */ + void Cut(); /** Delete back from the current position to the start of the line. @@ -901,7 +901,6 @@ public: /** END of generated section - Others... Returns the line number of the line with the caret. */ @@ -2571,7 +2570,7 @@ public: character. If more than one line selected, indent the lines. */ -#define void Tab() /* implementation is private */ + void Tab(); /** Make the target range start and end be the same as the selection range start @@ -2744,3 +2743,4 @@ public: */ void ZoomOut(); }; +