// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "preview.h"
#endif
PreviewFrame();
~PreviewFrame();
- void Preview(wxXmlNode *node,const wxString &version);
+ void Preview(wxXmlNode *node,wxXmlDocument *doc);
void MakeDirty();
// current node updated, needs preview refresh
// (will be done once mouse enters preview win)
void PreviewMenu();
void PreviewToolbar();
void PreviewPanel();
+ void PreviewWXFrame();
private:
static PreviewFrame *ms_Instance;
wxXmlNode *m_Node;
- wxString m_Version;
+ wxXmlDocument *m_Doc;
wxScrolledWindow *m_ScrollWin;
wxTextCtrl *m_LogCtrl;
wxSplitterWindow *m_Splitter;