]> git.saurik.com Git - wxWidgets.git/blob - src/mgl/window.cpp
use type safe list instead of wxList for m_columns
[wxWidgets.git] / src / mgl / window.cpp
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
18 IMPLEMENT_DYNAMIC_CLASS(wxWindowMGL, wxWindowBase)
19
20 wxWindow *g_captureWindow = NULL;
21 wxWindow *g_focusWindow = NULL;
22
23 /* static */
24 wxWindow *wxWindowBase::GetCapture()
25 {
26 return (wxWindow *)g_captureWindow;
27 }
28
29 wxWindow *wxWindowBase::FindFocus()
30 {
31 // the cast is necessary when we compile in wxUniversal mode
32 return (wxWindow *)g_focusWindow;
33 }