]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/radiobut.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / univ / radiobut.h
index 375fac1505370a1ad00282cf26037774b8284f1e..2ab03445491ce8c8802d6cc91369ab3e93529c10 100644 (file)
@@ -6,23 +6,19 @@
 // Created:     10.09.00
 // RCS-ID:      $Id$
 // Copyright:   (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
 // Created:     10.09.00
 // RCS-ID:      $Id$
 // Copyright:   (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_UNIV_RADIOBUT_H_
 #define _WX_UNIV_RADIOBUT_H_
 
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_UNIV_RADIOBUT_H_
 #define _WX_UNIV_RADIOBUT_H_
 
-#ifdef __GNUG__
-    #pragma interface "univradiobut.h"
-#endif
-
 #include "wx/checkbox.h"
 
 // ----------------------------------------------------------------------------
 // wxRadioButton
 // ----------------------------------------------------------------------------
 
 #include "wx/checkbox.h"
 
 // ----------------------------------------------------------------------------
 // wxRadioButton
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRadioButton : public wxCheckBox
+class WXDLLIMPEXP_CORE wxRadioButton : public wxCheckBox
 {
 public:
     // constructors
 {
 public:
     // constructors
@@ -55,6 +51,8 @@ public:
     virtual void ChangeValue(bool value);
 
 protected:
     virtual void ChangeValue(bool value);
 
 protected:
+    virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
     // implement our own drawing
     virtual void DoDraw(wxControlRenderer *renderer);
 
     // implement our own drawing
     virtual void DoDraw(wxControlRenderer *renderer);