]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_checkbox.i
Use a compatible bitmap if a depth of -1 is given
[wxWidgets.git] / wxPython / src / _checkbox.i
index f6f4e376865b9e4ff9b783d163628000ad1f663f..7d2b4a1fce402b01fde360755b8a4c671d5b6425 100644 (file)
@@ -16,9 +16,7 @@
 //---------------------------------------------------------------------------
 %newgroup;
 
-%{
-    DECLARE_DEF_STRING(CheckBoxNameStr);
-%}
+MAKE_CONST_WXSTRING(CheckBoxNameStr);
 
 
 enum {
@@ -49,8 +47,8 @@ enum wxCheckBoxState
 class wxCheckBox : public wxControl
 {
 public:
-    %addtofunc wxCheckBox         "self._setOORInfo(self)"
-    %addtofunc wxCheckBox()       ""
+    %pythonAppend wxCheckBox         "self._setOORInfo(self)"
+    %pythonAppend wxCheckBox()       ""
     
     wxCheckBox(wxWindow* parent, wxWindowID id, const wxString& label,
                const wxPoint& pos = wxDefaultPosition,