]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/preview.h
wxX11:
[wxWidgets.git] / contrib / utils / wxrcedit / preview.h
index 6675c4f75242ff6fed3fb6f6f6b828abdbbb8de8..538ea3e157423096462262608cc6a196017d67aa 100644 (file)
@@ -31,12 +31,13 @@ class PreviewFrame : public wxFrame
         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();
@@ -46,6 +47,7 @@ class PreviewFrame : public wxFrame
     private:
         static PreviewFrame *ms_Instance;
         wxXmlNode *m_Node;
+        wxString m_Version;
         wxScrolledWindow *m_ScrollWin;
         wxTextCtrl *m_LogCtrl;
         wxSplitterWindow *m_Splitter;
@@ -57,9 +59,6 @@ class PreviewFrame : public wxFrame
         
         DECLARE_EVENT_TABLE()
         void OnMouseEnter(wxMouseEvent& event);
-#ifdef __WXMSW__
-        void OnActivate(wxActivateEvent &event);
-#endif
 };