]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/bookctrl.h
Add wxTextEntry::AutoCompleteDirectories().
[wxWidgets.git] / interface / wx / bookctrl.h
index 450cd6d4eb2467769a7e8be8e955fa8d08b39470..06092c4eaf60e5a5aeef9c65c52b7562690b642c 100644 (file)
 class wxBookCtrlBase : public wxControl
 {
 public:
+    enum
+    {
+        /// Symbolic constant indicating that no image should be used.
+        NO_IMAGE = -1
+    };
+
     /**
         Default ctor.
     */
@@ -243,7 +249,7 @@ public:
         @see InsertPage()
     */
     virtual bool AddPage(wxWindow* page, const wxString& text,
-                         bool select = false, int imageId = wxNOT_FOUND);
+                         bool select = false, int imageId = NO_IMAGE);
 
     /**
         Deletes all pages.
@@ -280,7 +286,7 @@ public:
                             wxWindow* page,
                             const wxString& text,
                             bool select = false,
-                            int imageId = wxNOT_FOUND) = 0;
+                            int imageId = NO_IMAGE) = 0;
 
     /**
         Deletes the specified page, without deleting the associated window.