PreviewFrame();
~PreviewFrame();
- void Preview(wxXmlNode *node);
+ void Preview(wxXmlNode *node,const wxString &version);
void MakeDirty();
// current node updated, needs preview refresh
// (will be done once mouse enters preview win)
static PreviewFrame *Get();
+ void ResetResource();
private:
void PreviewMenu();
private:
static PreviewFrame *ms_Instance;
wxXmlNode *m_Node;
+ wxString m_Version;
wxScrolledWindow *m_ScrollWin;
wxTextCtrl *m_LogCtrl;
wxSplitterWindow *m_Splitter;
DECLARE_EVENT_TABLE()
void OnMouseEnter(wxMouseEvent& event);
-#ifdef __WXMSW__
- void OnActivate(wxActivateEvent &event);
-#endif
};