summaryrefslogtreecommitdiffstats
path: root/win/tkWinX.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-05 14:02:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-05 14:02:34 (GMT)
commit5e32543db5c3db71b03228ba36a5f883ac1597ac (patch)
tree87a0d8f7cfc8a47cf6f10fe7581a019f7666210b /win/tkWinX.c
parentb039eb53fbc3db111d347bbb70eb88bb0ff49354 (diff)
downloadtk-5e32543db5c3db71b03228ba36a5f883ac1597ac.zip
tk-5e32543db5c3db71b03228ba36a5f883ac1597ac.tar.gz
tk-5e32543db5c3db71b03228ba36a5f883ac1597ac.tar.bz2
Remove tclWinProcs, as it is no longer being used
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r--win/tkWinX.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c
index f74ac52..3a02d05 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -53,22 +53,6 @@
#define UNICODE_NOCHAR 0xFFFF
#endif
-static const TkWinProcs unicodeProcs = {
- 1,
- (LRESULT (WINAPI *)(WNDPROC, HWND, UINT, WPARAM, LPARAM)) CallWindowProcW,
- (LRESULT (WINAPI *)(HWND, UINT, WPARAM, LPARAM)) DefWindowProcW,
- (ATOM (WINAPI *)(const WNDCLASS *)) RegisterClassW,
- (BOOL (WINAPI *)(HWND, LPCTSTR)) SetWindowTextW,
- (HWND (WINAPI *)(DWORD, LPCTSTR, LPCTSTR, DWORD, int, int,
- int, int, HWND, HMENU, HINSTANCE, LPVOID)) CreateWindowExW,
- (BOOL (WINAPI *)(HMENU, UINT, UINT, UINT, LPCTSTR)) InsertMenuW,
- (int (WINAPI *)(HWND, LPCTSTR, int)) GetWindowTextW,
- (HWND (WINAPI *)(LPCTSTR, LPCTSTR)) FindWindowW,
- (int (WINAPI *)(HWND, LPTSTR, int)) GetClassNameW,
-};
-
-const TkWinProcs *const tkWinProcs = &unicodeProcs;
-
/*
* Declarations of static variables used in this file.
*/
@@ -1552,7 +1536,7 @@ HandleIMEComposition(
return 0;
}
- n = ImmGetCompositionStringW(hIMC, GCS_RESULTSTR, NULL, 0);
+ n = ImmGetCompositionString(hIMC, GCS_RESULTSTR, NULL, 0);
if (n > 0) {
char *buff = ckalloc(n);
@@ -1560,7 +1544,7 @@ HandleIMEComposition(
XEvent event;
int i;
- n = ImmGetCompositionStringW(hIMC, GCS_RESULTSTR, buff, (unsigned) n);
+ n = ImmGetCompositionString(hIMC, GCS_RESULTSTR, buff, (unsigned) n);
/*
* Set up the fields pertinent to key event.