Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly call the wxWidgets methods in forceRedraw()
Invoke Refresh() first before calling Update() to redraw unconditionally.
- Loading branch information
1 parent
4ac1910
commit f7fcdc8
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1109,6 +1109,7 @@ void CamWnd::forceRedraw() | |
return; | ||
} | ||
|
||
_wxGLWidget->Refresh(false); | ||
_wxGLWidget->Update(); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,6 +258,7 @@ void XYWnd::forceRedraw() | |
return; | ||
} | ||
|
||
_wxGLWidget->Refresh(false); | ||
_wxGLWidget->Update(); | ||
} | ||
|
||
|