wxX11: link errors down to 1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-02-10 23:31:24 +00:00
parent 1246e28fb0
commit 8354aa92a1
12 changed files with 19 additions and 28 deletions

View File

@@ -60,8 +60,6 @@ wxApp *wxTheApp = NULL;
wxHashTable *wxWidgetHashTable = NULL;
static Window wxGetParentWindow(Window window);
IMPLEMENT_DYNAMIC_CLASS(wxApp, wxEvtHandler)
BEGIN_EVENT_TABLE(wxApp, wxEvtHandler)
@@ -296,7 +294,7 @@ void wxApp::ProcessXEvent(WXEvent* _event)
// TODO: may need to translate coordinates from actualWindow
// to window, if the receiving window != wxWindow window
while (window && !(win = wxGetWindowFromTable(window)))
window = wxGetParentWindow(window);
window = wxGetWindowParent(window);
// TODO: shouldn't all the ProcessEvents below
// be win->GetEventHandler()->ProcessEvent?
@@ -643,7 +641,7 @@ WXColormap wxApp::GetMainColormap(WXDisplay* display)
return (WXColormap) c;
}
Window wxGetParentWindow(Window window)
Window wxGetWindowParent(Window window)
{
Window parent, root = 0;
unsigned int noChildren = 0;