X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..052da7d572c75d05207b53f515ed6623285dc841:/include/wx/combobox.h diff --git a/include/wx/combobox.h b/include/wx/combobox.h index 6255f13225..51b88e169f 100644 --- a/include/wx/combobox.h +++ b/include/wx/combobox.h @@ -5,7 +5,7 @@ // Modified by: // Created: 24.12.00 // RCS-ID: $Id$ -// Copyright: (c) 1996-2000 wxWindows team +// Copyright: (c) 1996-2000 wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -45,6 +45,19 @@ public: { 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" -#elif defined(__WXQT__) - #include "wx/qt/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(__WXSTUBS__) - #include "wx/stubs/combobox.h" #endif #endif // wxUSE_COMBOBOX