X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6267a331cbe2b7191d455a6b6f755eaf2f45600e..749a05ee85ea5453f155454e4640ebf795233ad3:/contrib/utils/wxrcedit/preview.h?ds=sidebyside diff --git a/contrib/utils/wxrcedit/preview.h b/contrib/utils/wxrcedit/preview.h index e9e558a833..014e91ba24 100644 --- a/contrib/utils/wxrcedit/preview.h +++ b/contrib/utils/wxrcedit/preview.h @@ -30,34 +30,36 @@ class PreviewFrame : public wxFrame public: PreviewFrame(); ~PreviewFrame(); - + void Preview(wxXmlNode *node,wxXmlDocument *doc); void MakeDirty(); // current node updated, needs preview refresh // (will be done once mouse enters preview win) - + static PreviewFrame *Get(); void ResetResource(); - + private: void PreviewMenu(); void PreviewToolbar(); void PreviewPanel(); - void PreviewWXFrame(); - + void PreviewWXFrame(); + private: static PreviewFrame *ms_Instance; wxXmlNode *m_Node; wxXmlDocument *m_Doc; wxScrolledWindow *m_ScrollWin; +#if wxUSE_LOG wxTextCtrl *m_LogCtrl; +#endif // wxUSE_LOG wxSplitterWindow *m_Splitter; - + wxXmlResource *m_RC; wxString m_TmpFile; - + bool m_Dirty; - + DECLARE_EVENT_TABLE() void OnMouseEnter(wxMouseEvent& event); };