]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/editor.h
Removed very out of date files in docs/msw
[wxWidgets.git] / contrib / utils / wxrcedit / editor.h
index ec53c4ef6304f11f85c1dc2b6df725098fae66a0..90917acff90a1a1e4f9a68bcb000dccad55f19ba 100644 (file)
@@ -7,7 +7,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "editor.h"
 #endif
 
     #pragma interface "editor.h"
 #endif
 
@@ -63,7 +63,7 @@ class EditorFrame : public wxFrame
 {
     public:
         friend class EditorTreeCtrl;
 {
     public:
         friend class EditorTreeCtrl;
-    
+
         EditorFrame(wxFrame *parent, const wxString& filename);
         ~EditorFrame();
 
         EditorFrame(wxFrame *parent, const wxString& filename);
         ~EditorFrame();
 
@@ -71,31 +71,31 @@ class EditorFrame : public wxFrame
         void NewFile();
         void SaveFile(const wxString& filename);
         wxString GetFileName() { return m_FileName; }
         void NewFile();
         void SaveFile(const wxString& filename);
         wxString GetFileName() { return m_FileName; }
-        
+
         void RefreshTree();
         void RefreshTitle();
         bool SelectNode(wxXmlNode *node, wxTreeItemId *root = NULL);
         void RefreshTree();
         void RefreshTitle();
         bool SelectNode(wxXmlNode *node, wxTreeItemId *root = NULL);
-        
+
         wxTreeItemId CreateTreeNode(wxTreeCtrl *treectrl, wxTreeItemId parent, wxXmlNode *node);
         wxTreeItemId CreateTreeNode(wxTreeCtrl *treectrl, wxTreeItemId parent, wxXmlNode *node);
-  
+
         void NotifyChanged(int change_type);
         void NotifyChanged(int change_type);
-        
+
         static EditorFrame *Get() { return ms_Instance; }
         static EditorFrame *Get() { return ms_Instance; }
-        
+
     private:
         static EditorFrame *ms_Instance;
     private:
         static EditorFrame *ms_Instance;
-    
+
         wxTreeCtrl *m_TreeCtrl;
         wxTreeCtrl *m_TreeCtrl;
-        
+
         wxXmlNode *m_SelectedNode;
         wxXmlNode *m_SelectedNode;
-        
+
         wxXmlNode *m_Clipboard;
 
         wxString m_FileName;
         wxXmlRcEditDocument *m_Resource;
         wxXmlNode *m_Clipboard;
 
         wxString m_FileName;
         wxXmlRcEditDocument *m_Resource;
-        
+
         bool m_Modified;
         bool m_Modified;
-        
+
         bool AskToSave();
         void DeleteSelectedNode();
 
         bool AskToSave();
         void DeleteSelectedNode();