diff --git a/src/ofxTextInputField.cpp b/src/ofxTextInputField.cpp index 732e398..e85d2f8 100755 --- a/src/ofxTextInputField.cpp +++ b/src/ofxTextInputField.cpp @@ -322,18 +322,8 @@ void ofxTextInputField::mouseReleased(ofMouseEventArgs& args){ } } - -#ifdef OF_VERSION_MINOR -#if OF_VERSION_MINOR>=8 || OF_VERSION_MAJOR>0 -#define USE_GLFW_CLIPBOARD - -#endif -#endif - - #ifdef USE_GLFW_CLIPBOARD - #if (_MSC_VER) #include #else diff --git a/src/ofxTextInputField.h b/src/ofxTextInputField.h index e697542..e2d5219 100755 --- a/src/ofxTextInputField.h +++ b/src/ofxTextInputField.h @@ -34,6 +34,12 @@ #define TEXTFIELD_IS_ACTIVE "textfieldIsActive" #define TEXTFIELD_IS_INACTIVE "textfieldIsInactive" +#ifdef OF_VERSION_MINOR +#if OF_VERSION_MINOR>=8 || OF_VERSION_MAJOR>0 +#define USE_GLFW_CLIPBOARD +#endif +#endif + // TODO: wrapping #include "ofxTextInputFieldFontRenderer.h"