]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/preview.h
fixed 'patch' #422993 (Error in wxConfigBase::Write for doubles)
[wxWidgets.git] / contrib / utils / wxrcedit / preview.h
index ee7f86d7632a5310925f7b4e759de9e856c52456..6675c4f75242ff6fed3fb6f6f6b828abdbbb8de8 100644 (file)
@@ -32,6 +32,9 @@ class PreviewFrame : public wxFrame
         ~PreviewFrame();
         
         void Preview(wxXmlNode *node);
+        void MakeDirty();
+                // current node updated, needs preview refresh
+                // (will be done once mouse enters preview win)
       
         static PreviewFrame *Get();
         
@@ -49,6 +52,14 @@ class PreviewFrame : public wxFrame
         
         wxXmlResource *m_RC;
         wxString m_TmpFile;
+        
+        bool m_Dirty;
+        
+        DECLARE_EVENT_TABLE()
+        void OnMouseEnter(wxMouseEvent& event);
+#ifdef __WXMSW__
+        void OnActivate(wxActivateEvent &event);
+#endif
 };