rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_PythonMouse.h
index 9e1085e6bec3a889c62cf5f1f6db6751ed99d21c..15a7e19c6026dca2d2c6abdffbaa09bf6317dea4 100644 (file)
@@ -33,7 +33,7 @@ class SCA_PythonMouse : public PyObjectPlus
 private:
        class SCA_IInputDevice *m_mouse;
        class RAS_ICanvas *m_canvas;
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        PyObject* m_event_dict;
 #endif
 public:
@@ -42,7 +42,7 @@ public:
 
        void Show(bool visible);
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        KX_PYMETHOD_DOC(SCA_PythonMouse, show);
 
        static PyObject*        pyattr_get_events(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef);