X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c75d8baf987c83e231c981d07b5a9217d711361..39601a7f74796aae377ad1520595f083fdafd7b6:/include/wx/msw/listbox.h?ds=sidebyside diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index ec7eb20981..8157cbdcbd 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -34,7 +34,7 @@ class WXDLLIMPEXP_FWD_BASE wxArrayInt; // List box control // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxListBox : public wxListBoxBase +class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase { public: // ctors and such @@ -133,6 +133,8 @@ public: virtual bool CanApplyThemeBorder() const { return false; } protected: + virtual wxSize DoGetBestClientSize() const; + virtual void DoClear(); virtual void DoDeleteOneItem(unsigned int n); @@ -147,13 +149,13 @@ protected: virtual void* DoGetItemClientData(unsigned int n) const; virtual int DoListHitTest(const wxPoint& point) const; + bool m_updateHorizontalExtent; + virtual void OnInternalIdle(); + // free memory (common part of Clear() and dtor) void Free(); unsigned int m_noItems; - int m_selected; - - virtual wxSize DoGetBestSize() const; #if wxUSE_OWNER_DRAWN // control items