diff --git a/samples/font/font.cpp b/samples/font/font.cpp index 119248811b..028c66957b 100644 --- a/samples/font/font.cpp +++ b/samples/font/font.cpp @@ -389,7 +389,6 @@ bool MyApp::OnInit() { if ( !wxApp::OnInit() ) return false; - wxString privfont = argv[0].BeforeLast('/'); // Create the main application window MyFrame *frame = new MyFrame();