]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/window.cpp
removed incorrect 'static' keyword from var declarations
[wxWidgets.git] / src / mgl / window.cpp
CommitLineData
32b8ec41
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: gtk/window.cpp
3// Purpose:
4// Author: Robert Roebling
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling, Julian Smart
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifdef __GNUG__
12 #pragma implementation "window.h"
13#endif
14
15#include "wx/defs.h"
16#include "wx/window.h"
17
18IMPLEMENT_DYNAMIC_CLASS(wxWindowMGL, wxWindowBase)
19
20wxWindow *g_captureWindow = NULL;
21wxWindow *g_focusWindow = NULL;
22
23/* static */
24wxWindow *wxWindowBase::GetCapture()
25{
26 return (wxWindow *)g_captureWindow;
27}
28
29wxWindow *wxWindowBase::FindFocus()
30{
31 // the cast is necessary when we compile in wxUniversal mode
32 return (wxWindow *)g_focusWindow;
33}