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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user