X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13bcc348811641ec19d2b378777c5edcf1b205a2..44ac608d142da51fd7f70c35146245b197749b2e:/include/wx/msw/combobox.h diff --git a/include/wx/msw/combobox.h b/include/wx/msw/combobox.h index dd03fe6e78..c9eb4dcbe8 100644 --- a/include/wx/msw/combobox.h +++ b/include/wx/msw/combobox.h @@ -94,16 +94,16 @@ public: virtual void Remove(long from, long to); virtual void SetSelection(int n) { wxChoice::SetSelection(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; } // implementation only from now on virtual bool MSWCommand(WXUINT param, WXWORD id); bool MSWProcessEditMsg(WXUINT msg, WXWPARAM wParam, WXLPARAM lParam); virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); - virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - WXHWND GetEditHWND() const; protected: