compilation fixes, Makefile.in added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-11-09 18:10:50 +00:00
parent e75491071d
commit 7bf07d2635
5 changed files with 44 additions and 10 deletions

View File

@@ -331,8 +331,8 @@ void wxResourceEditorDialogHandler::OnMouseEvent(wxMouseEvent& event)
return;
}
long x, y;
event.Position(&x, &y);
wxCoord x, y;
event.GetPosition(&x, &y);
// Find which selection handle we're on, if any
wxNode *node = handlerDialog->GetChildren().First();
@@ -401,7 +401,7 @@ void wxResourceEditorDialogHandler::OnItemEvent(wxControl *item, wxMouseEvent& e
// Not a selection handle event: just a normal item event.
// Transform to panel coordinates.
int x, y;
wxCoord x, y;
item->GetPosition(&x, &y);
event.m_x = event.m_x + x;
@@ -414,8 +414,8 @@ void wxResourceEditorDialogHandler::ProcessItemEvent(wxControl *item, wxMouseEve
{
wxResourceEditorControlHandler *childHandler = (wxResourceEditorControlHandler *)item->GetEventHandler();
long x, y;
event.Position(&x, &y);
wxCoord x, y;
event.GetPosition(&x, &y);
int keys = 0;
if (event.ShiftDown()) keys = keys | wxKEY_SHIFT;
if (event.ControlDown()) keys = keys | wxKEY_CTRL;