comparison dw.h @ 1858:952a41463240

Make sure callbacks have their calling convention specified explicitly on Windows. Was hoping this would fix the problem of MinGW and Visual C compiled versions not mixing properly, but this has not seemed to have fixed it... will continue to look.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 28 Feb 2013 13:55:33 +0000
parents 4790589f52a9
children c836603d3f14
comparison
equal deleted inserted replaced
1857:417176df4755 1858:952a41463240
492 # if defined(__MINGW32__) && defined(BUILD_DLL) 492 # if defined(__MINGW32__) && defined(BUILD_DLL)
493 # define API _cdecl __declspec(dllexport) 493 # define API _cdecl __declspec(dllexport)
494 # else 494 # else
495 # define API _cdecl 495 # define API _cdecl
496 #endif 496 #endif
497 #define DWSIGNAL _cdecl
497 #endif 498 #endif
498 499
499 #define DW_DT_LEFT SS_LEFTNOWORDWRAP 500 #define DW_DT_LEFT SS_LEFTNOWORDWRAP
500 #define DW_DT_QUERYEXTENT 0 501 #define DW_DT_QUERYEXTENT 0
501 #define DW_DT_UNDERSCORE 0 502 #define DW_DT_UNDERSCORE 0
1421 1422
1422 #ifndef API 1423 #ifndef API
1423 #define API 1424 #define API
1424 #endif 1425 #endif
1425 1426
1427 #ifndef DWSIGNAL
1426 #define DWSIGNAL API 1428 #define DWSIGNAL API
1429 #endif
1427 1430
1428 /* Constants for sizing scrolled widgets */ 1431 /* Constants for sizing scrolled widgets */
1429 #define _DW_SCROLLED_MIN_WIDTH 100 1432 #define _DW_SCROLLED_MIN_WIDTH 100
1430 #define _DW_SCROLLED_MIN_HEIGHT 75 1433 #define _DW_SCROLLED_MIN_HEIGHT 75
1431 #define _DW_SCROLLED_MAX_WIDTH 500 1434 #define _DW_SCROLLED_MAX_WIDTH 500