2 #pragma implementation "minimal.cpp"
3 #pragma interface "minimal.cpp"
13 // the application icon
14 #if defined(__WXGTK__) || defined(__WXMOTIF__)
15 #include "mondrian.xpm"
18 class ConfigurationViewerApp
: public wxApp
21 virtual bool OnInit();
24 IMPLEMENT_APP(ConfigurationViewerApp
)
26 bool ConfigurationViewerApp::OnInit()
28 // Create the main application window
29 MainFrame
*frame
= new MainFrame("Configuration Viewer",
30 wxPoint(50, 50), wxSize(450, 340));
34 frame
->SetIcon(wxIcon("mondrian"));
36 frame
->SetIcon(wxIcon( mondrian_xpm
));