Ensure the caret flashes properly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-04-10 19:06:59 +00:00
parent e0422aa695
commit 26f4607d08
2 changed files with 4 additions and 0 deletions

View File

@@ -595,11 +595,13 @@ void Window::Show(bool show) {
void Window::InvalidateAll() {
GETWIN(id)->Refresh(false);
wxWakeUpIdle();
}
void Window::InvalidateRectangle(PRectangle rc) {
wxRect r = wxRectFromPRectangle(rc);
GETWIN(id)->Refresh(false, &r);
wxWakeUpIdle();
}
void Window::SetFont(Font &font) {

View File

@@ -595,11 +595,13 @@ void Window::Show(bool show) {
void Window::InvalidateAll() {
GETWIN(id)->Refresh(false);
wxWakeUpIdle();
}
void Window::InvalidateRectangle(PRectangle rc) {
wxRect r = wxRectFromPRectangle(rc);
GETWIN(id)->Refresh(false, &r);
wxWakeUpIdle();
}
void Window::SetFont(Font &font) {