]>
git.saurik.com Git - wxWidgets.git/blob - src/mgl/window.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: gtk/window.cpp
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling, Julian Smart
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
12 #pragma implementation "window.h"
16 #include "wx/window.h"
18 IMPLEMENT_DYNAMIC_CLASS(wxWindowMGL
, wxWindowBase
)
20 wxWindow
*g_captureWindow
= NULL
;
21 wxWindow
*g_focusWindow
= NULL
;
24 wxWindow
*wxWindowBase::GetCapture()
26 return (wxWindow
*)g_captureWindow
;
29 wxWindow
*wxWindowBase::FindFocus()
31 // the cast is necessary when we compile in wxUniversal mode
32 return (wxWindow
*)g_focusWindow
;