1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #pragma interface "preview.h"
19 class WXDLLEXPORT wxXmlNode
;
20 class WXDLLEXPORT wxScrolledWindow
;
21 class WXDLLEXPORT wxTextCtrl
;
22 class WXDLLEXPORT wxSplitterWindow
;
23 class WXDLLEXPORT wxXmlResource
;
24 class WXDLLEXPORT wxXmlDocument
;
28 class PreviewFrame
: public wxFrame
34 void Preview(wxXmlNode
*node
,const wxString
&version
);
36 // current node updated, needs preview refresh
37 // (will be done once mouse enters preview win)
39 static PreviewFrame
*Get();
44 void PreviewToolbar();
48 static PreviewFrame
*ms_Instance
;
51 wxScrolledWindow
*m_ScrollWin
;
52 wxTextCtrl
*m_LogCtrl
;
53 wxSplitterWindow
*m_Splitter
;
61 void OnMouseEnter(wxMouseEvent
& event
);