#ifndef _WX_COMBOBOX_H_
#define _WX_COMBOBOX_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "combobox.h"
-#endif
-
#include "wx/choice.h"
#if wxUSE_COMBOBOX
virtual wxTextPos GetLastPosition() const;
virtual void Replace(long from, long to, const wxString& value);
virtual void Remove(long from, long to);
- virtual void SetSelection(int n) { wxChoice::SetSelection(n); }
+ virtual void SetSelection(int n);
virtual void SetSelection(long from, long to);
virtual int GetSelection() const;
virtual void GetSelection(long* from, long* to) const;
virtual void SetEditable(bool editable);
- virtual void Clear() { wxChoice::Clear(); m_selectionOld = -1; }
+ virtual void Clear();
virtual void Undo() ;
virtual void Redo() ;
void OnUpdateDelete(wxUpdateUIEvent& event);
void OnUpdateSelectAll(wxUpdateUIEvent& event);
-protected:
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+protected:
// common part of all ctors
void Init() { m_selectionOld = -1; }