wxMGL Watcom compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -118,7 +118,7 @@ static void CaptureScreenshot()
|
|||||||
// MGL_WM hooks:
|
// MGL_WM hooks:
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
static void wxWindowPainter(window_t *wnd, MGLDC *dc)
|
static void MGLAPI wxWindowPainter(window_t *wnd, MGLDC *dc)
|
||||||
{
|
{
|
||||||
wxWindowMGL *w = (wxWindow*) wnd->userData;
|
wxWindowMGL *w = (wxWindow*) wnd->userData;
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@ static void wxWindowPainter(window_t *wnd, MGLDC *dc)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static ibool wxWindowMouseHandler(window_t *wnd, event_t *e)
|
static ibool MGLAPI wxWindowMouseHandler(window_t *wnd, event_t *e)
|
||||||
{
|
{
|
||||||
wxWindowMGL *win = (wxWindowMGL*)MGL_wmGetWindowUserData(wnd);
|
wxWindowMGL *win = (wxWindowMGL*)MGL_wmGetWindowUserData(wnd);
|
||||||
wxPoint orig(win->GetClientAreaOrigin());
|
wxPoint orig(win->GetClientAreaOrigin());
|
||||||
@@ -374,7 +374,7 @@ static long wxAsciiToKeyCode(event_t *event)
|
|||||||
return (long)EVT_asciiCode(event->message);
|
return (long)EVT_asciiCode(event->message);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ibool wxWindowKeybHandler(window_t *wnd, event_t *e)
|
static ibool MGLAPI wxWindowKeybHandler(window_t *wnd, event_t *e)
|
||||||
{
|
{
|
||||||
wxWindowMGL *win = (wxWindowMGL*)MGL_wmGetWindowUserData(wnd);
|
wxWindowMGL *win = (wxWindowMGL*)MGL_wmGetWindowUserData(wnd);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user