Avoid unused function warning when wxUSE_LOG_TRACE==0

This commit is contained in:
Paul Cornett
2020-10-14 12:05:14 -07:00
parent 72c002f8c5
commit 1e474323f6

View File

@@ -309,6 +309,7 @@ static wxPoint gs_lastGesturePoint;
// the trace mask used for the focus debugging messages
#define TRACE_FOCUS wxT("focus")
#if wxUSE_LOG_TRACE
// Function used to dump a brief description of a window.
static
wxString wxDumpWindow(wxWindowGTK* win)
@@ -326,6 +327,7 @@ wxString wxDumpWindow(wxWindowGTK* win)
return s;
}
#endif // wxUSE_LOG_TRACE
// A handy function to run from under gdb to show information about the given
// GtkWidget. Right now it only shows its type, we could enhance it to show