X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..19b44116d5c04181f9a20f92546cff26405ed115:/contrib/utils/wxrcedit/preview.h diff --git a/contrib/utils/wxrcedit/preview.h b/contrib/utils/wxrcedit/preview.h index 50b690a9df..3e237e83e8 100644 --- a/contrib/utils/wxrcedit/preview.h +++ b/contrib/utils/wxrcedit/preview.h @@ -30,20 +30,21 @@ 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(); + private: static PreviewFrame *ms_Instance; wxXmlNode *m_Node; @@ -51,12 +52,12 @@ class PreviewFrame : public wxFrame wxScrolledWindow *m_ScrollWin; wxTextCtrl *m_LogCtrl; wxSplitterWindow *m_Splitter; - + wxXmlResource *m_RC; wxString m_TmpFile; - + bool m_Dirty; - + DECLARE_EVENT_TABLE() void OnMouseEnter(wxMouseEvent& event); };