]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMGL Watcom compilation fixes
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 9 Dec 2001 02:21:20 +0000 (02:21 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 9 Dec 2001 02:21:20 +0000 (02:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/window.cpp

index 346c33f826b60b550786d07ef1a336eaec7817dd..217508e3258db29a9444a5db9e276e1c0db0e95e 100644 (file)
@@ -118,7 +118,7 @@ static void CaptureScreenshot()
 // 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;
     
@@ -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);
     wxPoint orig(win->GetClientAreaOrigin());
@@ -374,7 +374,7 @@ static long wxAsciiToKeyCode(event_t *event)
     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);