diff options
Diffstat (limited to 'plugins/mTextControl/src/textcontrol.cpp')
| -rw-r--r-- | plugins/mTextControl/src/textcontrol.cpp | 8 | 
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/mTextControl/src/textcontrol.cpp b/plugins/mTextControl/src/textcontrol.cpp index 29caf2eb0a..19b837349c 100644 --- a/plugins/mTextControl/src/textcontrol.cpp +++ b/plugins/mTextControl/src/textcontrol.cpp @@ -84,12 +84,8 @@ LRESULT CALLBACK MTextControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM  			int textLength = GetWindowTextLength(hwnd);
  			data->text = new TCHAR[textLength+1];
  			GetWindowText(hwnd, data->text, textLength+1);
 -			#if defined(UNICODE) || defined (_UNICODE)
 -				data->mtext = MTI_MTextCreateW(data->htu, data->text);
 -			#else
 -				data->mtext = MTI_MTextCreate(data->htu, data->text);
 -			#endif
 -
 +			data->mtext = MTI_MTextCreateW(data->htu, data->text);
 +			
  			RECT rc; GetClientRect(hwnd, &rc);
  			MTI_MTextSetParent(data->mtext, hwnd, rc);
  | 
