diff --git a/include/Mw/LowLevel/GDI.h b/include/Mw/LowLevel/GDI.h index a316779..4eeeb8d 100644 --- a/include/Mw/LowLevel/GDI.h +++ b/include/Mw/LowLevel/GDI.h @@ -38,4 +38,6 @@ struct _MwLLGDIPixmap { HBITMAP hMask2; }; +MWDECL int MwLLGDICallInit(void); + #endif diff --git a/include/Mw/LowLevel/X11.h b/include/Mw/LowLevel/X11.h index eef85ae..fde208e 100644 --- a/include/Mw/LowLevel/X11.h +++ b/include/Mw/LowLevel/X11.h @@ -68,4 +68,6 @@ struct _MwLLX11Pixmap { XImage* mask; }; +MWDECL int MwLLX11CallInit(void); + #endif diff --git a/src/core.c b/src/core.c index e0d1c34..77c6d9a 100644 --- a/src/core.c +++ b/src/core.c @@ -685,12 +685,6 @@ MwWidget MwGetParent(MwWidget handle) { } typedef int (*call_t)(void); -#ifdef USE_X11 -int MwLLX11CallInit(void); -#endif -#ifdef USE_GDI -int MwLLGDICallInit(void); -#endif int MwLibraryInit(void) { call_t calls[] = { #ifdef USE_X11