]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/combobox.h
blind fix for GCC compilation when #pragmas are honored
[wxWidgets.git] / include / wx / combobox.h
index 6255f13225651af711bf9fcb2e0ba08666fbdd89..51b88e169f4c06bbcbf5bacc3971b540e321e15b 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     24.12.00
 // RCS-ID:      $Id$
 // Modified by:
 // Created:     24.12.00
 // RCS-ID:      $Id$
-// Copyright:   (c) 1996-2000 wxWindows team
+// Copyright:   (c) 1996-2000 wxWidgets team
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -45,6 +45,19 @@ public:
         { SetInsertionPoint(GetLastPosition()); }
     virtual void Remove(long from, long to)
         { Replace(from, to, wxEmptyString); }
         { SetInsertionPoint(GetLastPosition()); }
     virtual void Remove(long from, long to)
         { Replace(from, to, wxEmptyString); }
+
+    virtual bool IsEditable() const = 0;
+
+    virtual void Undo() = 0;
+    virtual void Redo() = 0;
+    virtual void SelectAll() = 0;
+
+    virtual bool CanCopy() const = 0;
+    virtual bool CanCut() const = 0;
+    virtual bool CanPaste() const = 0;
+    virtual bool CanUndo() const = 0;
+    virtual bool CanRedo() const = 0;
+
 };
 
 // ----------------------------------------------------------------------------
 };
 
 // ----------------------------------------------------------------------------
@@ -59,14 +72,12 @@ public:
     #include "wx/motif/combobox.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/combobox.h"
     #include "wx/motif/combobox.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/combobox.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/combobox.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/combobox.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/combobox.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/combobox.h"
 #elif defined(__WXPM__)
     #include "wx/os2/combobox.h"
 #elif defined(__WXPM__)
     #include "wx/os2/combobox.h"
-#elif defined(__WXSTUBS__)
-    #include "wx/stubs/combobox.h"
 #endif
 
 #endif // wxUSE_COMBOBOX
 #endif
 
 #endif // wxUSE_COMBOBOX