]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/radiobut.h
take the address of the member in wxON_BLOCK_EXIT_OBJ macros
[wxWidgets.git] / include / wx / msw / radiobut.h
index 9eb4c81e9037fb3b9f50e59d421f637795c03276..287bce70cc75eebad48a820105a292ae141df034 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLEXPORT wxRadioButton: public wxControl
 {
 public:
     // ctors and creation functions
-    wxRadioButton();
+    wxRadioButton() { Init(); }
 
     wxRadioButton(wxWindow *parent,
                   wxWindowID id,
@@ -29,7 +29,12 @@ public:
                   const wxSize& size = wxDefaultSize,
                   long style = 0,
                   const wxValidator& validator = wxDefaultValidator,
-                  const wxString& name = wxRadioButtonNameStr);
+                  const wxString& name = wxRadioButtonNameStr)
+    {
+        Init();
+
+        Create(parent, id, label, pos, size, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,
@@ -47,6 +52,7 @@ public:
     // implementation only from now on
     virtual bool MSWCommand(WXUINT param, WXWORD id);
     virtual void Command(wxCommandEvent& event);
+    virtual bool HasTransparentBackground() { return true; }
 
 protected:
     virtual wxSize DoGetBestSize() const;