Use icon in title bar on Windows

This commit is contained in:
PaulStoffregen 2016-04-02 12:43:57 -07:00
commit b2729c8688

View file

@ -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;
}