- // Create the main frame window
- frame = new MyFrame((wxFrame *) NULL, -1, (char *) "wxWindows Resource Sample", wxPoint(-1, -1), wxSize(300, 250));
+ // Create the main frame window
+ frame = new MyFrame( (wxFrame *) NULL, -1,
+ (char *) "wxWindows Resource Sample",
+ wxPoint(-1, -1), wxSize(300, 250) );
+
+ // Give it a status line
+ frame->CreateStatusBar(2);