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:
@@ -595,11 +595,13 @@ void Window::Show(bool show) {
|
|||||||
|
|
||||||
void Window::InvalidateAll() {
|
void Window::InvalidateAll() {
|
||||||
GETWIN(id)->Refresh(false);
|
GETWIN(id)->Refresh(false);
|
||||||
|
wxWakeUpIdle();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::InvalidateRectangle(PRectangle rc) {
|
void Window::InvalidateRectangle(PRectangle rc) {
|
||||||
wxRect r = wxRectFromPRectangle(rc);
|
wxRect r = wxRectFromPRectangle(rc);
|
||||||
GETWIN(id)->Refresh(false, &r);
|
GETWIN(id)->Refresh(false, &r);
|
||||||
|
wxWakeUpIdle();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::SetFont(Font &font) {
|
void Window::SetFont(Font &font) {
|
||||||
|
@@ -595,11 +595,13 @@ void Window::Show(bool show) {
|
|||||||
|
|
||||||
void Window::InvalidateAll() {
|
void Window::InvalidateAll() {
|
||||||
GETWIN(id)->Refresh(false);
|
GETWIN(id)->Refresh(false);
|
||||||
|
wxWakeUpIdle();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::InvalidateRectangle(PRectangle rc) {
|
void Window::InvalidateRectangle(PRectangle rc) {
|
||||||
wxRect r = wxRectFromPRectangle(rc);
|
wxRect r = wxRectFromPRectangle(rc);
|
||||||
GETWIN(id)->Refresh(false, &r);
|
GETWIN(id)->Refresh(false, &r);
|
||||||
|
wxWakeUpIdle();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::SetFont(Font &font) {
|
void Window::SetFont(Font &font) {
|
||||||
|
Reference in New Issue
Block a user