From: Vadim Zeitlin Date: Tue, 13 Nov 2007 17:19:46 +0000 (+0000) Subject: override GetDefaultBorder() to return wxBORDER_NONE, radio buttons shouldn't have... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/754626543e36a222bbfbdd4d3373970f2cc5f05f override GetDefaultBorder() to return wxBORDER_NONE, radio buttons shouldn't have borders by default git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/radiobut.h b/include/wx/msw/radiobut.h index 43a8e30e32..5fb863eb7b 100644 --- a/include/wx/msw/radiobut.h +++ b/include/wx/msw/radiobut.h @@ -49,6 +49,7 @@ public: virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void Command(wxCommandEvent& event); virtual bool HasTransparentBackground() { return true; } + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;