update fresh_edit_proc

This commit is contained in:
Sylae Corell
2014-08-01 11:18:42 -06:00
parent fbf03b952e
commit d22b3ea1e7
2 changed files with 4 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ void cd_init_dialogs()
edit_proc = (FARPROC) fresh_edit_proc;
}
long CALLBACK fresh_edit_proc(HWND hwnd, UINT message, UINT wParam, LONG lParam)
LRESULT CALLBACK fresh_edit_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
short i,cur_box = -1,cur_item_num,item_for_focus = -1,first_edit_box = -1;

View File

@@ -44,7 +44,9 @@ void center_window(HWND window);
RECT get_item_rect(HWND hDlg, short item_num);
void frame_dlog_rect(HWND hDlg, RECT rect, short val);
void draw_dialog_graphic(HWND hDlg, RECT rect, short which_g, Boolean do_frame,short win_or_gworld) ;
void showcursor(Boolean a);
void showcursor(Boolean a);
LRESULT CALLBACK fresh_edit_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
void cd_get_text_edit_str(short dlog_num, char *str);
void cdsin(short dlog_num, short item_num, short num);