1. fixed client size calculations for GTK

2. fixed wxGTK region code
3. fixed bug with out of bounds coords in wxTextCtrl::HitTest()
4. tried to (but failed) fix the initial caret appearance


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-10-05 19:10:37 +00:00
parent b28342f733
commit ea8259f286
14 changed files with 389 additions and 259 deletions

View File

@@ -282,6 +282,13 @@ protected:
// calculate the last visible position
void UpdateLastVisible();
// move caret to the given position unconditionally
// (SetInsertionPoint() does nothing if the position didn't change)
void DoSetInsertionPoint(long pos);
// set the caret to its initial (default) position
void InitInsertionPoint();
// event handlers
void OnChar(wxKeyEvent& event);
void OnSize(wxSizeEvent& event);
@@ -305,7 +312,8 @@ private:
// flags
bool m_isModified:1,
m_isEditable:1;
m_isEditable:1,
m_hasCaret:1;
// the rectangle (in client coordinates) to draw text inside
wxRect m_rectText;