/////////////////////////////////////////////////////////////////////////////
// Name: stc/stc.h
-// Purpose: documentation for wxStyledTextEvent class
+// Purpose: interface of wxStyledTextEvent
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
/**
*/
- wxEvent* Clone();
+ wxEvent* Clone() const;
/**
*/
- bool GetAlt();
+ bool GetAlt() const;
/**
*/
- bool GetControl();
+ bool GetControl() const;
/**
/**
*/
- 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;
/**
/**
*/
-#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
@library{wxbase}
@category{stc}
- @seealso
- wxStyledTextEvent
+ @see wxStyledTextEvent
*/
class wxStyledTextCtrl : public wxControl
{
/**
Ctor.
*/
- wxStyledTextCtrl::wxStyledTextCtrl(wxWindow * parent,
+ wxStyledTextCtrl::wxStyledTextCtrl(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
/**
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.
/**
END of generated section
-
Others...
Returns the line number of the line with the caret.
*/
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
*/
void ZoomOut();
};
+