From b2729c8688e73fc2056dbc7c139361f0a2aae4b6 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Sat, 2 Apr 2016 12:43:57 -0700 Subject: [PATCH] Use icon in title bar on Windows --- gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui.cpp b/gui.cpp index 4f8c035..1c84473 100644 --- a/gui.cpp +++ b/gui.cpp @@ -367,6 +367,9 @@ bool MyApp::OnInit() MyFrame *frame = new MyFrame(NULL, -1, "Motion Sensor Calibration Tool", pos, wxSize(1120,760), wxDEFAULT_FRAME_STYLE); +#ifdef WINDOWS + frame->SetIcon(wxIcon("MotionCal")); +#endif frame->Show( true ); return true; }