]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_radio.i
ActiveX events should be sent to the window, not it's parent.
[wxWidgets.git] / wxPython / src / _radio.i
index a2af8d1d71dcff66ef7ca05948b02eec0c9e035c..c70ce8c11cd829ac961e4e2932795c17162c5419 100644 (file)
@@ -24,7 +24,7 @@ MAKE_CONST_WXSTRING(RadioButtonNameStr);
 class wxRadioBox : public wxControl
 {
 public:
-    %pythonPrepend wxRadioBox         "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']"
+    %pythonPrepend wxRadioBox         "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']"
     %pythonPrepend wxRadioBox()       ""
     %pythonAppend  wxRadioBox         "self._setOORInfo(self)"
     %pythonAppend  wxRadioBox()       ""
@@ -86,6 +86,8 @@ public:
     }
 #endif
         
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 };
     
 
@@ -117,6 +119,9 @@ public:
 
     bool GetValue();
     void SetValue(bool value);
+
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 };
 
 //---------------------------------------------------------------------------