Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, TRUE/true. FALSE/false, tabs, whitespaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -220,10 +220,10 @@ protected:
|
||||
|
||||
// replace the contents of the selection or of the entire control with the
|
||||
// given text
|
||||
void DoWriteText(const wxString& text, bool selectionOnly = TRUE);
|
||||
void DoWriteText(const wxString& text, bool selectionOnly = true);
|
||||
|
||||
// set the selection possibly without scrolling the caret into view
|
||||
void DoSetSelection(long from, long to, bool scrollCaret = TRUE);
|
||||
void DoSetSelection(long from, long to, bool scrollCaret = true);
|
||||
|
||||
// return true if there is a non empty selection in the control
|
||||
bool HasSelection() const;
|
||||
@@ -232,7 +232,7 @@ protected:
|
||||
// position
|
||||
long GetLengthOfLineContainingPos(long pos) const;
|
||||
|
||||
// send TEXT_UPDATED event, return TRUE if it was handled, FALSE otherwise
|
||||
// send TEXT_UPDATED event, return true if it was handled, false otherwise
|
||||
bool SendUpdateEvent();
|
||||
|
||||
// override some base class virtuals
|
||||
@@ -248,7 +248,7 @@ protected:
|
||||
int m_verRichEdit;
|
||||
#endif // wxUSE_RICHEDIT
|
||||
|
||||
// if TRUE, SendUpdateEvent() will eat the next event (see comments in the
|
||||
// if true, SendUpdateEvent() will eat the next event (see comments in the
|
||||
// code as to why this is needed)
|
||||
bool m_suppressNextUpdate;
|
||||
|
||||
|
Reference in New Issue
Block a user