From: Vadim Zeitlin Date: Fri, 5 Dec 2008 22:34:29 +0000 (+0000) Subject: override GetDefaultBorder() to not use border by default X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a3e0efb6a492c28c50b9d9db612424490952a6cc override GetDefaultBorder() to not use border by default git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/headerctrl.h b/include/wx/headerctrl.h index e317eca220..7a4441611e 100644 --- a/include/wx/headerctrl.h +++ b/include/wx/headerctrl.h @@ -147,6 +147,9 @@ private: virtual void DoDelete(unsigned int idx) = 0; virtual void DoShowColumn(unsigned int idx, bool show) = 0; virtual void DoShowSortIndicator(unsigned int idx, int sortOrder) = 0; + + // this window doesn't look nice with the border so don't use it by default + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } }; #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)