comparison src/w32xfns.c @ 34999:549bbda5364a

(get_frame_dc): Abort if called on a non-w32 frame.
author Andrew Innes <andrewi@gnu.org>
date Tue, 02 Jan 2001 22:45:32 +0000
parents 9c0d7d896682
children 7a9bc23b91e7
comparison
equal deleted inserted replaced
34998:5091928844df 34999:549bbda5364a
119 all frames if palette's mapping changes. */ 119 all frames if palette's mapping changes. */
120 HDC 120 HDC
121 get_frame_dc (FRAME_PTR f) 121 get_frame_dc (FRAME_PTR f)
122 { 122 {
123 HDC hdc; 123 HDC hdc;
124
125 if (f->output_method != output_w32)
126 abort ();
124 127
125 enter_crit (); 128 enter_crit ();
126 129
127 hdc = GetDC (f->output_data.w32->window_desc); 130 hdc = GetDC (f->output_data.w32->window_desc);
128 131