]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_spin.i
Force integer values for positions and sizes
[wxWidgets.git] / wxPython / src / _spin.i
index 8802d40d7d4f2aea44fbb5203ad69c59e9bfb6ba..c092ec83036396c4c8669aab291079f05c2d1e02 100644 (file)
 
 //---------------------------------------------------------------------------
 
-%{
-    DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
-    wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
-    DECLARE_DEF_STRING(SpinCtrlNameStr);
-%}
+MAKE_CONST_WXSTRING(SPIN_BUTTON_NAME);
+MAKE_CONST_WXSTRING2(SpinCtrlNameStr, _T("wxSpinCtrl"));
 
 //---------------------------------------------------------------------------
 %newgroup