X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..1f464296deff25be95f9e2b7c68566919aa17da2:/include/wx/msw/combobox.h diff --git a/include/wx/msw/combobox.h b/include/wx/msw/combobox.h index 86eb64bc30..6259ab78fc 100644 --- a/include/wx/msw/combobox.h +++ b/include/wx/msw/combobox.h @@ -91,12 +91,12 @@ public: 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() ; @@ -130,9 +130,9 @@ public: 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; }