]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/memtext.h
compilation fix for non-PCH
[wxWidgets.git] / include / wx / memtext.h
index 614286ef2333eca39ddeaef6ea14cfaa2c431d46..92617b24f16db3018317ae9e6dfd7febb3b8975a 100644 (file)
@@ -28,21 +28,21 @@ public:
 
 protected:
     virtual bool OnExists() const
-        { return false; }
+        { return FALSE; }
 
-    virtual bool OnOpen(const wxString &strBufferName,
-                        wxTextBufferOpenMode OpenMode)
-        { return true; }
+    virtual bool OnOpen(const wxString & WXUNUSED(strBufferName),
+                        wxTextBufferOpenMode WXUNUSED(OpenMode))
+        { return TRUE; }
 
     virtual bool OnClose()
-        { return true; }
+        { return TRUE; }
 
-    virtual bool OnRead(wxMBConv& conv)
-        { return true; }
+    virtual bool OnRead(wxMBConv& WXUNUSED(conv))
+        { return TRUE; }
 
-    virtual bool OnWrite(wxTextFileType typeNew,
-                         wxMBConv& conv = wxConvLibc)
-        { return true; }
+    virtual bool OnWrite(wxTextFileType WXUNUSED(typeNew),
+                         wxMBConv& WXUNUSED(conv) = wxConvLibc)
+        { return TRUE; }
 };
 
 #endif // wxUSE_TEXTBUFFER