diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-04-17 15:56:53 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-04-17 15:56:53 +0000 |
commit | bec77516a2559a9d2a895ef879e6d6c019d9d285 (patch) | |
tree | b50888ba8b964443fd9a2ec025b0436eb75b3a52 /gtk/file_dlg_win32.c | |
parent | 14fa469df3be6ce40abeff352da8e6a658269364 (diff) |
file_dlg_win32.c: A fix for VC6 compilation.
svn path=/trunk/; revision=28075
Diffstat (limited to 'gtk/file_dlg_win32.c')
-rw-r--r-- | gtk/file_dlg_win32.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk/file_dlg_win32.c b/gtk/file_dlg_win32.c index 214e8fb3f1..0a8d6db606 100644 --- a/gtk/file_dlg_win32.c +++ b/gtk/file_dlg_win32.c @@ -1148,7 +1148,11 @@ filter_tb_syntax_check(HWND hwnd, TCHAR *filter_text) { } +#if (_MSC_VER <= 1200) +static UINT CALLBACK +#else static UINT_PTR CALLBACK +#endif open_file_hook_proc(HWND of_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { HWND cur_ctrl, parent; OFNOTIFY *notify = (OFNOTIFY *) l_param; @@ -1401,7 +1405,11 @@ build_file_format_list(HWND sf_hwnd) { #endif #define RANGE_TEXT_MAX 128 +#if (_MSC_VER <= 1200) +static UINT CALLBACK +#else static UINT_PTR CALLBACK +#endif save_as_file_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { HWND cur_ctrl; OFNOTIFY *notify = (OFNOTIFY *) l_param; @@ -1645,7 +1653,11 @@ range_handle_wm_command(HWND dlg_hwnd, HWND ctrl, WPARAM w_param, packet_range_t } } +#if (_MSC_VER <= 1200) +static UINT CALLBACK +#else static UINT_PTR CALLBACK +#endif merge_file_hook_proc(HWND mf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { HWND cur_ctrl, parent; OFNOTIFY *notify = (OFNOTIFY *) l_param; @@ -1715,7 +1727,11 @@ merge_file_hook_proc(HWND mf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { } +#if (_MSC_VER <= 1200) +static UINT CALLBACK +#else static UINT_PTR CALLBACK +#endif export_file_hook_proc(HWND ef_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { HWND cur_ctrl; OFNOTIFY *notify = (OFNOTIFY *) l_param; @@ -1773,7 +1789,11 @@ export_file_hook_proc(HWND ef_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { return 0; } +#if (_MSC_VER <= 1200) +static UINT CALLBACK +#else static UINT_PTR CALLBACK +#endif export_raw_file_hook_proc(HWND ef_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) { HWND cur_ctrl; OPENFILENAME *ofnp = (OPENFILENAME *) l_param; |