X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43c48e1e53d74cef62d15f08f015d9efeb45a0c1..c398434d925aa9e2b190ce632fac1a79ffcbf043:/interface/wx/stc/stc.h diff --git a/interface/wx/stc/stc.h b/interface/wx/stc/stc.h index f936debde1..ff4494dcf9 100644 --- a/interface/wx/stc/stc.h +++ b/interface/wx/stc/stc.h @@ -14,7 +14,7 @@ @todo list styled text ctrl events. @library{wxbase} - @category{events} + @category{events,stc} */ class wxStyledTextEvent : public wxCommandEvent { @@ -263,7 +263,7 @@ public: wxStyledTextCtrl is a 1 to 1 mapping of "raw" scintilla interface, whose documentation can be found in the Scintilla website (http://www.scintilla.org/). - @beginEventTable{wxStyledTextEvent} + @beginEventEmissionTable{wxStyledTextEvent} @event{EVT_STC_CHANGE(id, fn)} TOWRITE @event{EVT_STC_STYLENEEDED(id, fn)} @@ -331,10 +331,10 @@ public: */ wxStyledTextCtrl::wxStyledTextCtrl(wxWindow* parent, wxWindowID id = wxID_ANY, - const wxPoint pos = wxDefaultPosition, - const wxSize size = wxDefaultSize, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = 0, - const wxString name = "stcwindow"); + const wxString& name = wxSTCNameStr); /** Extend life of document. @@ -597,7 +597,7 @@ public: /** Will a paste succeed? */ - bool CanPaste(); + virtual bool CanPaste() const; /** Are there any redoable actions in the undo history?