]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/controls.i
updated Joystick demo, is now wxDesigner-less
[wxWidgets.git] / wxPython / src / controls.i
index 5b1558f87bb29416f5f20510d3eba506788b4590..502b4346fcc8d6a40084be3c5fa9312348b8e6f8 100644 (file)
 %{
 #include "wx/wxPython/wxPython.h"
 #include "wx/wxPython/pyclasses.h"
-
-    DECLARE_DEF_STRING(PanelNameStr);
-    DECLARE_DEF_STRING(EmptyString);
-    DECLARE_DEF_STRING(ControlNameStr);
-
 %}
-
+    
 //---------------------------------------------------------------------------
 
 %import core.i
 %pythoncode { wx = core }
 
+%include _controls_rename.i
+
+MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
+MAKE_CONST_WXSTRING_NOSWIG(ControlNameStr);
+
 
 // Include all the files that make up this module
 
-%include _controls_rename.i
 
 //%include _control.i  <-- It's in core so other modules don't have to %import controls.i
 %include _button.i
@@ -55,6 +55,7 @@
 %include _dirctrl.i
 %include _pycontrol.i
 %include _cshelp.i
+%include _dragimg.i
 
 
 //---------------------------------------------------------------------------