From 754626543e36a222bbfbdd4d3373970f2cc5f05f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 13 Nov 2007 17:19:46 +0000 Subject: [PATCH] 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 --- include/wx/msw/radiobut.h | 1 + 1 file changed, 1 insertion(+) 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;