window.h
changeset 1386 aa5a172a8431
parent 1323 41397685320a
child 1390 53a5713cf3f9
equal deleted inserted replaced
1385:324d3d06a930 1386:aa5a172a8431
   227 	bool caret;
   227 	bool caret;
   228 	WindowClass wnd_class;
   228 	WindowClass wnd_class;
   229 	WindowNumber wnd_num;
   229 	WindowNumber wnd_num;
   230 	uint16 maxlen, maxwidth;
   230 	uint16 maxlen, maxwidth;
   231 	char *buf;
   231 	char *buf;
       
   232 	const char* orig;
   232 } querystr_d;
   233 } querystr_d;
   233 
   234 
   234 #define WP(ptr,str) (*(str*)(ptr)->custom)
   235 #define WP(ptr,str) (*(str*)(ptr)->custom)
   235 // querystr_d is the bigest struct that comes in w->custom
   236 // querystr_d is the bigest struct that comes in w->custom
   236 //  because 64-bit systems use 64-bit pointers, it is bigger on a 64-bit system
   237 //  because 64-bit systems use 64-bit pointers, it is bigger on a 64-bit system