1 /////////////////////////////////////////////////////////////////////////////
2 // Purpose: XML resources editor
3 // Author: Vaclav Slavik
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #if defined(__GNUG__) && !defined(__APPLE__)
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
,wxXmlDocument
*doc
);
36 // current node updated, needs preview refresh
37 // (will be done once mouse enters preview win)
39 static PreviewFrame
*Get();
44 void PreviewToolbar();
46 void PreviewWXFrame();
49 static PreviewFrame
*ms_Instance
;
52 wxScrolledWindow
*m_ScrollWin
;
53 wxTextCtrl
*m_LogCtrl
;
54 wxSplitterWindow
*m_Splitter
;
62 void OnMouseEnter(wxMouseEvent
& event
);