// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation
#pragma interface
#endif
#include "wx/wx.h"
#include "editor.h"
-
+#include "preview.h"
+#include "propframe.h"
// -- Application
bool MyApp::OnInit()
{
+ SetVendorName(wxT("wxWindows"));
+ SetAppName(wxT("wxrcedit"));
wxString arg = (argc >= 1) ? argv[1] : "";
wxInitAllImageHandlers();
wxFrame *frame = new EditorFrame(NULL, arg);
SetTopWindow(frame);
frame->Show(TRUE);
+ PreviewFrame::Get()->Show(TRUE);
+ PropertiesFrame::Get()->Show(TRUE);
return TRUE;
}