]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_gauge.i
Use a local copy of the old wxBufferedDC classes until the ones in the
[wxWidgets.git] / wxPython / src / _gauge.i
index 941054bf49d0f5ea565882c051ca0b9e0553c5c9..264683d27aea57c917b01afd4084db2d2db2e2aa 100644 (file)
@@ -15,9 +15,7 @@
 
 //---------------------------------------------------------------------------
 
-%{
-    DECLARE_DEF_STRING(GaugeNameStr);
-%}
+MAKE_CONST_WXSTRING(GaugeNameStr);
 
 %newgroup
 
@@ -33,8 +31,8 @@ enum {
 
 class wxGauge : public wxControl {
 public:
-    %addtofunc wxGauge         "self._setOORInfo(self)"
-    %addtofunc wxGauge()       ""
+    %pythonAppend wxGauge         "self._setOORInfo(self)"
+    %pythonAppend wxGauge()       ""
 
     wxGauge(wxWindow* parent, wxWindowID id, int range,
             const wxPoint& pos = wxDefaultPosition,