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