Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/dw.h Thu Feb 28 13:30:58 2013 +0000 +++ b/dw.h Thu Feb 28 13:55:33 2013 +0000 @@ -494,6 +494,7 @@ # else # define API _cdecl #endif +#define DWSIGNAL _cdecl #endif #define DW_DT_LEFT SS_LEFTNOWORDWRAP @@ -1423,7 +1424,9 @@ #define API #endif +#ifndef DWSIGNAL #define DWSIGNAL API +#endif /* Constants for sizing scrolled widgets */ #define _DW_SCROLLED_MIN_WIDTH 100