Skip to content

Commit

Permalink
ViewerWindow: set red VNCCanvas background in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Jan 21, 2024
1 parent 783d758 commit 0d9cf43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/ViewerWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ VNCCanvas::VNCCanvas(wxWindow* parent, VNCConn* c):

update_timer.SetOwner(this, VNCCANVAS_UPDATE_TIMER_ID);
update_timer.Start(VNCCANVAS_UPDATE_TIMER_INTERVAL);

#ifdef __WXDEBUG__
SetBackgroundColour(*wxRED);
#endif
}


Expand Down

0 comments on commit 0d9cf43

Please sign in to comment.