Fixed two minor bugs. Still more than enough left. Quite some new ones.:-(

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-06-13 17:44:22 +00:00
parent 96c5bd7fc4
commit d9939b3d99
2 changed files with 36 additions and 33 deletions

View File

@@ -219,6 +219,13 @@ protected:
on demand.
*/
int m_CursorVisibility;
bool SetAutoDeleteSelection(bool enable = TRUE)
{
bool old = m_AutoDeleteSelection;
m_AutoDeleteSelection = enable;
return old;
}
private:
/// The layout list to be displayed.
wxLayoutList *m_llist;
@@ -243,6 +250,11 @@ private:
int m_StatusFieldCursor;
/// a pointer to a bitmap for the background
wxBitmap *m_BGbitmap;
/**@name Some configuration options */
//@{
/// Do we want to auto-replace the selection with new text?
bool m_AutoDeleteSelection;
//@}
DECLARE_EVENT_TABLE()
};